### Question:
InviteController extends AbstractController implements Initializable { String createEMailBody() { String body = bundle.getString("inviteText"); body = body.replace("\n", "%0D%0A"); body = body.replace(" ", "%20"); return body; }  @Override void initialize(URL location, ResourceBundle resources);  }### Answer:
@Test public void createEMailBodyTest() { createController(); String body = controller.createEMailBody(); assertEquals("TEST%20TEST,%0D%0ATEST%20TEST", body); }