lib/src/test/java/io/ably/lib/test/realtime/RealtimePresenceTest.java
/**
     * Test Presence.get()
     * check if parent channel is able to detect presence
     * during intermittent detach cycles
     */
Test Presence.get()
check if parent channel is able to detect presence
during intermittent detach cycles
Test Presence . get () check if parent channel is able to detect presence during intermittent detach cycles
public void checkMembersWithChannelPresence(Channel testChannel) throws AblyException {
        PresenceMessage[] presenceMessages = testChannel.presence.get(true);
        testChannel.detach();
        assertEquals("Members count with channel presence should be " + presenceMessages.length, presenceMessages.length, 1);
    }
public void checkMembersWithChannelPresence ( Channel testChannel ) throws AblyException { PresenceMessage [ ] presenceMessages = testChannel . presence . get ( true ) ; testChannel . detach ( ) ; assertEquals ( "Members count with channel presence should be " + presenceMessages . length , presenceMessages . length , 1 ) ; }
Test Presence.get()
 check if parent channel is able to detect presence
 during intermittent detach cycles
Test Presence . get () check if parent channel is able to detect presence during intermittent detach cycles