### Question:
Like extends ElementHeader { public String getUser() { return user; } Like();  Like(Like template); String getUser(); void setUser(String user); boolean isPublic(); void setPublic(boolean aPublic); @Override String toString(); @Override boolean equals(Object objectToCompare);  }### Answer:
@Test public void testNullObject() { Like nullObject = new Like(); assertTrue(nullObject.getType() == null); assertTrue(nullObject.getGUID() == null); assertTrue(nullObject.getURL() == null); assertTrue(nullObject.getClassifications() == null); assertTrue(nullObject.getUser() == null); nullObject = new Like(null); assertTrue(nullObject.getType() == null); assertTrue(nullObject.getGUID() == null); assertTrue(nullObject.getURL() == null); assertTrue(nullObject.getClassifications() == null); assertTrue(nullObject.getUser() == null); }