/** test getMetadata with concrete class name*/
public void testConcreteClassName() {
pm = getPM();
String className = "org.apache.jdo.tck.pc.company.PartTimeEmployee";
TypeMetadata metadata = pmf.getMetadata(className);
assertNotNull(ASSERTION_FAILED
+ "metadata must not be null for abstract class " + className, metadata);
Metadata parent = metadata.getParent();
assertNotNull(ASSERTION_FAILED
+ "parent metadata must not be null for concrete class " + className, parent);
String name = metadata.getName();
String packageName = ((PackageMetadata)parent).getName();
assertEquals(ASSERTION_FAILED
+ "metadata name and class name must match.", className, packageName + "." + name);
}