use of io.fabric8.maven.docker.util.AnsiLogger in project fabric8 by fabric8io.
the class DependencyResolverTest method testResolutionOfPomWithNoDeps.
@Test
public void testResolutionOfPomWithNoDeps() throws IOException {
Session session = new Session("test-session", "test-session-123", new AnsiLogger());
DependencyResolver resolver = new DependencyResolver(DependencyResolver.class.getResource("/test-pom.xml").getFile(), true);
Assert.assertTrue(resolver.resolve(session).isEmpty());
}
Aggregations