| http://www.w3.org/ns/prov#value | - The test below is a pain to maintain... it essentially means you can not change the schema at all w/o breaking the test. + Map<String,FieldType> polyFs = schema.getPolyFieldTypes(); + assertNotNull(polyFs); + assertTrue(polyFs.size() == 3); I also prefer testing low level behavior as opposed to testing low level implementation.
|