@Test public void testConstructor() { RegistrationMessage testRegistrationMessage = new RegistrationMessage("testMessage"); assertEquals("testMessage", testRegistrationMessage.getName()); }
public String getName() { return name; }
RegistrationMessage { public String getName() { return name; } }
RegistrationMessage { public String getName() { return name; } RegistrationMessage(String name); }
RegistrationMessage { public String getName() { return name; } RegistrationMessage(String name); String getName(); void setName(String name); }
RegistrationMessage { public String getName() { return name; } RegistrationMessage(String name); String getName(); void setName(String name);  }