@Test public void testHasValueOPT2() throws SchemagenOptionsConfigurationException { SchemagenOptions so0 = new SchemagenOptions(); SchemagenOptions so1 = new SchemagenOptions(); so0.setParent(so1); so1.setOption(OPT.CLASS_SECTION, "foo"); assertTrue(so0.hasValue(OPT.CLASS_SECTION)); }
/** * Test method for {@link SchemagenOptions#hasValue(jena.schemagen.SchemagenOptions.OPT)}. * * @throws SchemagenOptionsConfigurationException */ @Test public void testHasValueOPT0() throws SchemagenOptionsConfigurationException { SchemagenOptions so0 = new SchemagenOptions(); assertFalse(so0.hasValue(OPT.CLASS_SECTION)); }