/** the accuracy test for the getter and setter for the body. */ public void testBody() { assertTrue(instance.getBody().equals("")); instance.setBody("body"); assertEquals("body", instance.getBody()); }
/** the accuracy test for the getter and setter for the language. */ public void testLanguage() { assertTrue(instance.getLanguage().equals("")); instance.setLanguage("language"); assertEquals("language", instance.getLanguage()); }
/** the accuracy test for the constructor. */ public void testCtor() { assertNotNull("The instance should not be null.", instance); assertTrue(instance.getBody().equals("")); assertTrue(instance.getLanguage().equals("")); }