@Test(expected = APNSGatewayConnectionException.class)
public void testPushBadConnection() throws APNSGatewayConnectionException, InvalidPushTokenException {

    LOG.info("testPushBadConnection");
    final APNSProperties apnsProperties = new APNSProperties(
            "gateway.sandbox.push.apple.com", 2195,
            "feedback.sandbox.push.apple.com", 2196,
            "/com/tomtom/speedtools/push/implementation/apns/tomtomspeedtools-apns-sandbox.p12",
            "wronggggg", 2, true);
    final APNSConnector faultyAPNSConnector = new APNSConnector(apnsProperties);
    final Notification notification = new Notification(
            new Uid<Notification>(),
            "TRIP_STATUS_CHANGE",
            Duration.standardHours(6),
            "Happy New Year!",
            null,
            0);
    faultyAPNSConnector.push(notification, TestToken.PUSH_CHANNEL_ID.getToken());
}