/** * Test method for {@link SchemagenOptions#setParent(SchemagenOptions)}. * * @throws SchemagenOptionsConfigurationException */ @Test public void testSetParent() throws SchemagenOptionsConfigurationException { SchemagenOptions so0 = new SchemagenOptions(); SchemagenOptions so1 = new SchemagenOptions(); so0.setParent(so1); assertSame(so1, so0.getParent()); }
/** * Test method for {@link SchemagenOptions#getParent()}. * * @throws SchemagenOptionsConfigurationException */ @Test public void testGetParent() throws SchemagenOptionsConfigurationException { SchemagenOptions so = new SchemagenOptions(); assertNull(so.getParent()); }