protected void checkPluginId(String pluginId) {
        if (!plugins.containsKey(pluginId)) {
            throw new PluginNotFoundException(pluginId);
        }
    }
@Test
    void checkNotExistedPluginId() {
        assertThrows(PluginNotFoundException.class, () -> pluginManager.checkPluginId("plugin1"));
    }