@Test
public void testPayloadWithAListTextEntry() throws Exception {

    Analyze analyze = new Analyze.Builder()
            .text(ImmutableList.of("foo", "bar"))
            .text("baz")
            .build();
    String expectedJSON = "{\n" +
            "\"filter\": [],\n" +
            "\"text\": [\"foo\", \"bar\", \"baz\"]\n" +
            "}";
    JSONAssert.assertEquals(expectedJSON, analyze.getData(new Gson()), false);
}