@Test
public void shouldConvertLongToDatabaseColumn() {

    JsonListConverter converter = new JsonListConverter();
    List<Long> list = Lists.newArrayList();
    list.add(1L);
    list.add(2L);
    assertEquals(converter.convertToDatabaseColumn(list), "[1,2]");
}