@Test
public void testResponseSenderActorShouldHandleSend()
        throws InvalidArgumentException, SerializeException, ReadValueException, ResolutionException,
        InvalidArgumentException, ResponseSenderActorException, ChangeValueException, ResponseSendingException {

    IObject environment =
            new DSObject("{\"config\": null, \"message\": null, \"response\": {\"hello\":\"world\"}}");
    IObject context = new DSObject();
    context.setValue(new FieldName("channel"), null);
    environment.setValue(new FieldName("context"), context);
    Wrapper wrapper = new Wrapper();
    wrapper.init(environment);
    ResponseSenderActor senderActor = new ResponseSenderActor();
    senderActor.sendResponse(wrapper);
    verify(responseSender, times(1)).send(any(IResponse.class), any(IObject.class), any(IChannelHandler.class));
}