@Test public void testHasResourceValueOPT1() throws SchemagenOptionsConfigurationException { SchemagenOptions so0 = new SchemagenOptions(); Resource r = ResourceFactory.createResource("http://example.org/foo"); so0.setOption(OPT.ROOT, r); assertTrue(so0.hasResourceValue(OPT.ROOT)); }
/** * Test method for {@link SchemagenOptions#hasResourceValue(jena.schemagen.SchemagenOptions.OPT)}. * * @throws SchemagenOptionsConfigurationException */ @Test public void testHasResourceValueOPT0() throws SchemagenOptionsConfigurationException { SchemagenOptions so0 = new SchemagenOptions(); assertFalse(so0.hasResourceValue(OPT.ROOT)); }