@Test
public void testBuildWithPackagingService() throws Exception {

    final File testPackage = TestPackageUtil.prepareTestPackage("null-dependency-test.zip");
    assertTrue("no errors", builder().withPackagingService(new PackagingImpl()).build()
            .scanPackage(testPackage).get(0).getViolations().isEmpty());
}