@Test
public void testCreateRESTBuilder() throws Exception {

	String dependenciesPath = _getDependenciesPath();
	RESTBuilder restBuilder = new RESTBuilder(
		new File(dependenciesPath, "copyright.txt"),
		new File(dependenciesPath), null);
	restBuilder.build();
	String filesPath = _getFilesPath();
	File applicationFile = new File(
		filesPath + "/sample-impl/src/main/java/com/example/sample" +
			"/internal/jaxrs/application/SampleApplication.java");
	Assert.assertTrue(applicationFile.exists());
	_assertResourceFilesExist(filesPath, "Document");
	_assertResourceFilesExist(filesPath, "Folder");
	File sampleApiDir = new File(filesPath + "/sample-api");
	FileUtils.deleteDirectory(sampleApiDir);
	Assert.assertFalse(sampleApiDir.exists());
	File sampleImplDir = new File(filesPath + "/sample-impl");
	FileUtils.deleteDirectory(sampleImplDir);
	Assert.assertFalse(sampleImplDir.exists());
}