@Test
public void testAggregateResourceBundlesInstructionEmpty()
	throws Exception {

	ResourceBundleLoaderAnalyzerPlugin resourceBundleLoaderAnalyzerPlugin =
		new ResourceBundleLoaderAnalyzerPlugin();
	InputStream inputStream =
		ResourceBundleLoaderAnalyzerPluginTest.class.getResourceAsStream(
			"dependencies/resources.test1.jar");
	try (Jar jar = new Jar("dot", inputStream);
		Analyzer analyzer = new Analyzer()) {
		analyzer.setBundleSymbolicName("resources.test");
		analyzer.setJar(jar);
		analyzer.setProperty("-liferay-aggregate-resource-bundles", "");
		Assert.assertTrue(
			resourceBundleLoaderAnalyzerPlugin.analyzeJar(analyzer));
		Parameters requireCapabilityHeaders = new Parameters(
			analyzer.getProperty(Constants.REQUIRE_CAPABILITY));
		Collection<Attrs> requires = requireCapabilityHeaders.values();
		Assert.assertTrue(requires.toString(), requires.isEmpty());
		Parameters provideCapabilityHeaders = new Parameters(
			analyzer.getProperty(Constants.PROVIDE_CAPABILITY));
		List<Map.Entry<String, Attrs>> provides = new ArrayList<>(
			provideCapabilityHeaders.entrySet());
		Assert.assertEquals(provides.toString(), 1, provides.size());
		Map.Entry<String, Attrs> entry = provides.get(0);
		Assert.assertEquals(
			ResourceBundleLoaderAnalyzerPlugin.LIFERAY_RESOURCE_BUNDLE,
			entry.getKey());
		Attrs attrs = entry.getValue();
		Assert.assertEquals(2, attrs.size());
		Assert.assertEquals(
			"resources.test", attrs.get("bundle.symbolic.name"));
		Assert.assertEquals(
			"content.Language", attrs.get("resource.bundle.base.name"));
	}
}