public void testSimpleConversionNoPackage() {
ObjectMapper objectMapper = new ObjectMapper();
MindHolderToObjectConverter holderToObject = new MindHolderToObjectConverter(objectMapper);
MindObjectToHolderConverter objectToHolder = new MindObjectToHolderConverter(objectMapper);
SimpleTestRequest2 request1 = new SimpleTestRequest2();
MindRpcMessageHolder holder = objectToHolder.convert(request1);
assertThat(holder, notNullValue());
SimpleTestRequest2 request2 = (SimpleTestRequest2) holderToObject.convert(holder);
assertThat(request2, notNullValue());
assertThat(request1.type, is(request2.type));
assertThat(request1.stringField, is(request2.stringField));
}