@Test
public void testMandatoryDirectiveCaseSensitive() {

	Capability cap = new BasicCapability.Builder()
			.namespace(PackageNamespace.PACKAGE_NAMESPACE)
			.attribute(PackageNamespace.PACKAGE_NAMESPACE, "com.foo")
			.attribute("a", "b")
			.attribute("bAr", "c")
			.attribute("c", "d")
			.directive(PackageNamespace.CAPABILITY_MANDATORY_DIRECTIVE, "bAr")
			.resource(EasyMock.createNiceMock(Resource.class)).build();
	Requirement req = new BasicRequirement.Builder()
			.namespace(PackageNamespace.PACKAGE_NAMESPACE)
			.directive(PackageNamespace.REQUIREMENT_FILTER_DIRECTIVE,
					"(&(osgi.wiring.package=com.foo)(a=b)(baR=c)(c=d))")
			.resource(EasyMock.createNiceMock(Resource.class)).build();
	assertFalse("Capability should not match requirement", ResourceHelper.matches(req, cap));
}