Exemplo n.º 1
0
 /**
  * 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());
 }
Exemplo n.º 2
0
 /**
  * Test method for {@link SchemagenOptions#getParent()}.
  *
  * @throws SchemagenOptionsConfigurationException
  */
 @Test
 public void testGetParent() throws SchemagenOptionsConfigurationException {
   SchemagenOptions so = new SchemagenOptions();
   assertNull(so.getParent());
 }