public void verify() {
        final int size = expectedWithResponses.size();
        if (size > 0) {
            final String error = String.format("[%d] Expected notification(s) were not received, first id was: [%d] ",
                    size, expectedWithResponses.poll().getId());
            throw new IllegalStateException(error);
        }
        verifyUnexpected();
    }
Provides a simulator that receives connection over TCP as per a real APNS server.  This class allows verification
and prior configuration of responses in a manner similar to a mocking framework.
src/test/java/com/notnoop/apns/utils/Simulator/ApnsSimulatorWithVerification.java