@Test(timeout = 2000)
    public void sendOneSimpleMultiKey() throws InterruptedException {
        ApnsService service =
                APNS.newService().withSSLContext(clientMultiKeyContext("notnoop-client"))
                        .withGatewayDestination(LOCALHOST, gatewayPort)
                        .build();
        server.stopAt(msg1.length());
        service.push(msg1);
        server.getMessages().acquire();

        assertArrayEquals(msg1.marshall(), server.getReceived().toByteArray());
    }
Unlike in the feedback case, push messages won't expose the socket timeout,
as the read is done in a separate monitoring thread.

Therefore, normal behavior is expected in this test.

@throws InterruptedException
src/test/java/com/notnoop/apns/integration/ApnsConnectionTest.java