@Test
public void testHandleGenericException() {

    new TestKit(actorSystem) {{
        final TestProbe targetActor = new TestProbe(actorSystem);
        targetActor.setAutoPilot(new AutoPilotAnsweringWithException(GATEWAY_INTERNAL_ERROR_EXCEPTION));
        final Props props = ThingsAggregatorProxyActor.props(targetActor.ref());
        final ActorRef proxyActor = actorSystem.actorOf(props);
        proxyActor.tell(RETRIEVE_THINGS_COMMAND, getRef());
        expectMsg(GATEWAY_INTERNAL_ERROR_EXCEPTION);
    }};
}