@Test public void testCreateSubject() { String compareSubject = "[Projekt Angebot] Hans hans@wurst.de"; String createdSubject = ProjectOfferHelper.createSubject("Hans", "hans@wurst.de"); assertThat(compareSubject).isEqualTo(createdSubject); }
protected static String createSubject(String name, String mail) { return "[Projekt Angebot] " + name + " " + mail; }
ProjectOfferHelper { protected static String createSubject(String name, String mail) { return "[Projekt Angebot] " + name + " " + mail; } }
ProjectOfferHelper { protected static String createSubject(String name, String mail) { return "[Projekt Angebot] " + name + " " + mail; }  }
ProjectOfferHelper { protected static String createSubject(String name, String mail) { return "[Projekt Angebot] " + name + " " + mail; }   }
ProjectOfferHelper { protected static String createSubject(String name, String mail) { return "[Projekt Angebot] " + name + " " + mail; }    }