/** 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()); }
/** 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()); }