@Test
public void shouldResolvePluginsWithoutDependencies() {

    List<Class<?>> plugins = newArrayList(TestPlugin.class, OptionalPlugin.class);
    final Collection<Node<?>> nodes = sut.resolve(plugins);
    assertEquals(plugins.size(), nodes.size());
    for (Node<?> node : nodes) {
        assertTrue(plugins.contains(node.getRefClass()));
    }
}