final org.uberfire.java.nio.file.Path nioResourcePath = fs.getPath( resourceUrl.toURI() );
final Path resourcePath = paths.convert( nioResourcePath );
//Force full build before attempting incremental changes
final Project project = projectService.resolveProject( resourcePath );
final BuildResults buildResults = buildService.build( project );
assertNotNull( buildResults );
assertEquals( 0,
buildResults.getMessages().size() );
//Perform incremental build (Without a full Build first)
buildChangeListener.updateResource( resourcePath );
final BuildResults buildResults2 = buildResultsObserver.getBuildResults();
assertNotNull( buildResults2 );
assertEquals( 0,
buildResults2.getMessages().size() );
final IncrementalBuildResults incrementalBuildResults = buildResultsObserver.getIncrementalBuildResults();
assertNull( incrementalBuildResults );
}