### Question:
Builder implements Serializable { public IncrementalBuildResults addResource(final Path resource) { IncrementalBuildResults results = new IncrementalBuildResults(projectGAV); if (ioService.exists(resource)) { results = addResource(resource, ioService.newInputStream(resource)); } return results; } Builder(final Module project,
                   final IOService ioService,
                   final KieModuleService moduleService,
                   final ProjectImportsService importsService,
                   final List<BuildValidationHelper> buildValidationHelpers,
                   final LRUModuleDependenciesClassLoaderCache dependenciesClassLoaderCache,
                   final LRUPomModelCache pomModelCache,
                   final PackageNameWhiteListService packageNameWhiteListService,
                   final Predicate<String> classFilter,
                   final KieBuilder kieBuilder,
                   final KieFileSystem kieFileSystem);  Builder(final Module project,
                   final IOService ioService,
                   final KieModuleService moduleService,
                   final ProjectImportsService importsService,
                   final List<BuildValidationHelper> buildValidationHelpers,
                   final LRUModuleDependenciesClassLoaderCache dependenciesClassLoaderCache,
                   final LRUPomModelCache pomModelCache,
                   final PackageNameWhiteListService packageNameWhiteListService,
                   final Predicate<String> classFilter); Builder clone(); BuildResults build(); BuildResults build(final Path resource,
                              final InputStream inputStream); IncrementalBuildResults addResource(final Path resource); IncrementalBuildResults deleteResource(final Path resource); IncrementalBuildResults updateResource(final Path resource); IncrementalBuildResults updateResource(final Path resource,
                                                  final InputStream inputStream); IncrementalBuildResults applyBatchResourceChanges(final Map<org.uberfire.backend.vfs.Path, Collection<ResourceChange>> changes); org.kie.api.builder.KieModule getKieModule(); org.kie.api.builder.KieModule getKieModuleIgnoringErrors(); KieModuleMetaData getKieModuleMetaDataIgnoringErrors(); TypeSourceResolver getTypeSourceResolver(KieModuleMetaData kieModuleMetaData); KieContainer getKieContainer(); boolean isBuilt();  }### Answer:
@Test public void testIncrementalBuildWithNoFile() throws Exception { final LRUPomModelCache pomModelCache = getReference(LRUPomModelCache.class); final URL url = this.getClass().getResource("/BuildHelperTest"); final SimpleFileSystemProvider p = new SimpleFileSystemProvider(); final org.uberfire.java.nio.file.Path path = p.getPath(url.toURI()); final Module module = moduleService.resolveModule(Paths.convert(path)); final Builder builder = new Builder(module, ioService, moduleService, importsService, new ArrayList<>(), dependenciesClassLoaderCache, pomModelCache, getPackageNameWhiteListService(), alwaysTrue); IncrementalBuildResults buildResults = builder.addResource(Paths.convert(noFilePath)); List<BuildMessage> addedMessages = buildResults.getAddedMessages(); assertEquals(0, addedMessages.size()); }