hazelcast/hazelcast — pull request #1283 by Danny-Hazelcast (2013-11-28 16:00:50+00:00)
Title: revised MembershipListenerTest

now using com.hazelcast.test.HazelcastTestSupport

added @before for repeated test setup

Failing Test
@Test(expected = IllegalArgumentException.class) addNullListener_thenException()

and NullPointerException was thrown

In whenListenerRemoved_thenNoEventsRecived
Still using assertTrueDelayed.. as we must wait for added member event

Test dont rely on each other, and no duplication i Think?