public BlockingQueue<Notification> getQueue() {
        return queue;
    }
A Server simulator that can simulate some failure modes.
src/test/java/com/notnoop/apns/utils/Simulator/FailingApnsServerSimulator.java