@Test
public void testRemoveDuplicateTaglibRequirements() throws Exception {

	JspAnalyzerPlugin jspAnalyzerPlugin = new JspAnalyzerPlugin();
	URL url = getResource("dependencies/imports_without_comments.jsp");
	InputStream inputStream = url.openStream();
	String content = IO.collect(inputStream);
	Builder builder = new Builder();
	builder.build();
	Set<String> taglibURIs = new HashSet<>();
	jspAnalyzerPlugin.addTaglibRequirements(builder, content, taglibURIs);
	String requireCapability1 = builder.getProperty(
		Constants.REQUIRE_CAPABILITY);
	jspAnalyzerPlugin.addTaglibRequirements(builder, content, taglibURIs);
	String requireCapability2 = builder.getProperty(
		Constants.REQUIRE_CAPABILITY);
	Assert.assertEquals(requireCapability1, requireCapability2);
}