ManifestFile file = createFile("Import-Package: a.b,c.d;a=value;d:=value");
Header header = file.getHeader("Import-Package");
assertNotNull(header);
List<HeaderValue> clauses = header.getHeaderValues();
assertEquals(2, clauses.size());
Clause clause1 = (Clause)clauses.get(0), clause2 = (Clause)clauses.get(1);
assertEquals(0, clause1.getAttributes().size());
assertEquals(0, clause1.getDirectives().size());
assertEquals(1, clause2.getAttributes().size());
assertEquals(1, clause2.getDirectives().size());
assertNotNull(clause2.getAttribute("a"));
assertNull(clause2.getAttribute("b"));
assertNotNull(clause2.getDirective("d"));