/** Test to make sure the user is being set properly. */ @Test public void testSetUser() { final CommonEntityFields local = new CommonEntityFields(); Assert.assertNull(local.getUser()); local.setUser(USER); Assert.assertEquals(USER, local.getUser()); }
/** 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()); }