	@Test
	public void test0018BlacklistFields() throws Exception {

		String filename = "0018_blacklist_fields.txt";
		URL testResourceURL = this.getClass().getClassLoader().getResource(filename);
		String testResourceURLString = testResourceURL.toString();
		String testClassPath = testResourceURLString.substring(0, testResourceURLString.length() - filename.length())
				+ "../../src/test/classes/";
		URL[] classesURLs = new URL[] { new URL(testClassPath) };
		URLClassLoader classLoader = new URLClassLoader(classesURLs);
		classLoader.loadClass("de.elnarion.test.domain.t0018.Testclass1");
		List<String> scanpackages = new ArrayList<>();
		scanpackages.add("de.elnarion.test.domain.t0018");
		PlantUMLConfig config = new PlantUMLConfigBuilder(scanpackages).withClassLoader(classLoader)
				.withFieldBlacklistRegexp("test1").build();
		PlantUMLClassDiagramGenerator generator = new PlantUMLClassDiagramGenerator(config);
		String result = generator.generateDiagramText();
		String expectedDiagramText = IOUtils.toString(this.getClass().getClassLoader().getResource(filename), "utf-8");
		assertNotNull(result);
		assertNotNull(expectedDiagramText);
		assertEquals(expectedDiagramText.replaceAll("\\s+", ""), result.replaceAll("\\s+", ""));
	}