@Test
public void testProvideLiferayResourceBundleCapabilityNotAdded()
	throws Exception {

	ResourceBundleLoaderAnalyzerPlugin resourceBundleLoaderAnalyzerPlugin =
		new ResourceBundleLoaderAnalyzerPlugin();
	InputStream inputStream =
		ResourceBundleLoaderAnalyzerPluginTest.class.getResourceAsStream(
			"dependencies/resources.test2.jar");
	try (Jar jar = new Jar("dot", inputStream);
		Analyzer analyzer = new Analyzer()) {
		analyzer.setJar(jar);
		Assert.assertFalse(
			resourceBundleLoaderAnalyzerPlugin.analyzeJar(analyzer));
		Parameters provideCapabilityHeaders = new Parameters(
			analyzer.getProperty(Constants.PROVIDE_CAPABILITY));
		Attrs attrs = provideCapabilityHeaders.get(
			ResourceBundleLoaderAnalyzerPlugin.LIFERAY_RESOURCE_BUNDLE);
		Assert.assertNull(attrs);
	}
}