@Test
public void testInitPluginsCyclicDependency() {

	final List<StagemonitorPlugin> plugins = Arrays.asList(new PluginNoDependency(), new PluginCyclicA(), new PluginCyclicB());
	assertThatThrownBy(() -> Stagemonitor.initializePluginsInOrder(Collections.emptyList(), plugins))
			.isInstanceOf(IllegalStateException.class)
			.hasMessageContaining("PluginCyclicA")
			.hasMessageContaining("PluginCyclicB");
}