@Override
        public Void answer(final InvocationOnMock invocation) throws Throwable {
            mockSocketClosed(socket);
            return null;
        }
Change a mock socket's behaviour to be closed. Dynamically used from close()
src/test/java/com/notnoop/apns/internal/MockingUtils.java