*
* The input parameter count of each method will be tested for additional safety.
*/
@Test
public void testOdfCoverage() {
MethodSet methods;
methods = TemplateAPICoverageTest.getMethods(OdfModel.class);
assertTrue(methods.contains("getDefaultAttributeValue", 2));
assertTrue(methods.contains("getStyleFamilies", 0));
assertTrue(methods.contains("getStyleFamilies", 1));
assertTrue(methods.contains("isStylable", 1));
methods = TemplateAPICoverageTest.getMethods(SourceCodeModel.class);
assertTrue(methods.contains("getBaseclass",1));
assertTrue(methods.contains("getBaseclasses",0));
assertTrue(methods.contains("getBaseclassOf",1));
assertTrue(methods.contains("getConversiontype",1));
assertTrue(methods.contains("getPrimitiveType",1));
assertTrue(methods.contains("getValuetype",1));
assertTrue(methods.contains("getValuetypes",1));
methods = TemplateAPICoverageTest.getMethods(SourceCodeBaseClass.class);
assertTrue(methods.contains("isStylable",0));
assertTrue(methods.contains("getBaseAttributes",0));
assertTrue(methods.contains("getElements",0));
// Test inheritance -> so there's no need to test inherited methods
assertTrue(QNamed.class.isAssignableFrom(SourceCodeBaseClass.class));
}