@SuppressWarnings("JUnitTestMethodWithNoAssertions")
@Ignore // Do not want this in automatic builds.
@Test
public void testPush() throws APNSGatewayConnectionException, InvalidPushTokenException {

    LOG.info("testPush");
    final Notification notification =
            new Notification(
                    new Uid<Notification>(),
                    "MESSAGE",
                    Duration.standardHours(1),
                    "Test message - ignore",
                    new TestPayLoad("123-122", "test message", 4),
                    1);
    apnsConnector.push(notification, TestToken.PUSH_CHANNEL_ID.getToken());
    try {
        Thread.sleep(5000);
    } catch (final InterruptedException ignored) {
        LOG.error("testPush: sleeping problems");
    }
    // Send it again.
    apnsConnector.push(notification, TestToken.PUSH_CHANNEL_ID.getToken());
}