UserCredentials implements Serializable { public String getName() { return name; } UserCredentials();  UserCredentials(String name, String pass); String getPass(); void setPass(String pass); String getName(); void setName(String name);  }
@Test public void testGetName_1() throws Exception { UserCredentials fixture = new UserCredentials("", ""); String result = fixture.getName(); assertEquals("", result); }