@Test
public void shouldUseMoshiToSerialize() {

    MoshiSerializationStrategyFactory factory = MoshiSerializationStrategyFactory.create();
    mSerializer = new Serializer.Builder()
            .setSerializationStrategyFactory(factory)
            .build();
    assertTrue(mSerializer
            .serializationStrategyFactory() instanceof MoshiSerializationStrategyFactory);
    String jsonString = getJsonString();
    assertNotNull(jsonString);
    assertEquals(
            "{\"location\":{\"latitude\":0.0,\"longitude\":0.0},\"locationName\":"
                    + "\"Accra Mall\",\"name\":\"Silverbird\"}",
            jsonString);
}