@Test
public void testDeserializationResult() throws InvalidArgumentException, ResolutionException, URISyntaxException, DeserializationException, SerializeException {

    mapperStub = mock(IMessageMapper.class);
    DeserializeStrategyPostJson deserializeStrategy = new DeserializeStrategyPostJson(mapperStub);
    when(mapperStub.deserialize(any(byte[].class))).thenReturn(new DSObject("{\"hello\": \"world\"}"));
    IObject iObject = deserializeStrategy.deserialize(new DefaultFullHttpRequest(HttpVersion.HTTP_1_0, HttpMethod.POST, "http://localhost:9901"));
    String iObjectString = iObject.serialize().toString();
    verify(iObjectString.equals("{\"hello\":\"world\"}"));
}