@Test
public void testParseBundleSymbolicName()
{

  String bundleSymbolicNameEntry = "com.acme.foo;singleton:=true;fragment-attachment:=always";
  NameValuePair nvp = ManifestHeaderProcessor.parseBundleSymbolicName(bundleSymbolicNameEntry);
  assertEquals("The symbolic name is wrong.", nvp.getName(), "com.acme.foo");
  assertEquals("The value is wrong.", "true", nvp.getAttributes().get("singleton:") );
  assertEquals("The directive is wrong.", "always", nvp.getAttributes().get("fragment-attachment:") );
  String bundleSymbolicNameEntry2 = "com.acme.foo";
  NameValuePair nvp2 = ManifestHeaderProcessor.parseBundleSymbolicName(bundleSymbolicNameEntry2);
  assertEquals("The symbolic name is wrong.", nvp2.getName(), "com.acme.foo");
}