BecauseItsEasierToReadThanJustCamelcase :-)
On 21 May 2014 05:34, "Christoph Engelbert" <notifications@github.com>
wrote:

> In
> hazelcast/src/test/java/com/hazelcast/instance/DefaultAddressPicketTest.java:
>
> > +
> > +import static org.junit.Assert.*;
> > +import static org.hamcrest.CoreMatchers.*;
> > +
> > +public class DefaultAddressPicketTest {
> > +
> > +    @Test
> > +    public void port_picked_by_OS_when_set_zero() {
> > +        HazelcastInstance hazelcastInstance = Hazelcast.newHazelcastInstance(new Config().setNetworkConfig(new NetworkConfig().setPort(0)));
> > +
> > +        int port = hazelcastInstance.getCluster().getLocalMember().getSocketAddress().getPort();
> > +        assertThat("Port must be auto-picked by OS when configured as 0", port, not(0));
> > +    }
> > +
> > +    @Test
> > +    public void cluster_formed_when_port_picked_by_OS() {
>
> Why do so much people fall back to weird method names on unittests?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/hazelcast/hazelcast/pull/2507/files#r12880703>
> .
>