Ejemplo n.º 1
0
 /** Test to make sure the name is being set properly. */
 @Test
 public void testSetName() {
   final CommonEntityFields local = new CommonEntityFields();
   Assert.assertNull(local.getName());
   local.setName(NAME);
   Assert.assertEquals(NAME, local.getName());
 }
Ejemplo n.º 2
0
 /** Test the default Constructor. */
 @Test
 public void testDefaultConstructor() {
   final CommonEntityFields local = new CommonEntityFields();
   Assert.assertNull(local.getName());
   Assert.assertNull(local.getUser());
   Assert.assertNull(local.getVersion());
 }