@Test
public void notFoundDependencies() {

    PluginDescriptor pd1 = new DefaultPluginDescriptor()
        .setPluginId("p1")
        .setDependencies("p2, p3");
    List<PluginDescriptor> plugins = new ArrayList<>();
    plugins.add(pd1);
    DependencyResolver.Result result = resolver.resolve(plugins);
    assertFalse(result.getNotFoundDependencies().isEmpty());
    assertEquals(result.getNotFoundDependencies(), Arrays.asList("p2", "p3"));
}