2829303132333435363738
private LightningTalk createLT(Member... speakers) { LightningTalk lt = new LightningTalk(); for (Member s : speakers) { lt.addSpeaker(s); } return lt.save(); } @Test public void grantedSpeaker() { // Member become speaker of a validated talk
2223242526272829303132
for (Member speaker : speakers) { lt.addSpeaker(speaker); } } return lt.save(); } private static Member createMember(final String login){ Member m = new Member(login); m.firstname = login;
3031323334353637383940
} protected LightningTalk createLightningTalk(String title) { LightningTalk lt = new LightningTalk(); lt.title = title; return lt.save(); } @Override public void setUp() { super.setUp();