@Test
public void testConvertTodosFull() throws Exception {

    List<Todo> todos = convertTodos(fullTodoRecord);
    assertThat(todos.size(), is(2));
    assertThat(todos.get(0).getText(), is("text1"));
    assertThat(todos.get(0).getTodoId(), is(1));
    assertThat(todos.get(0).isDevelopment(), is(true));
    assertThat(todos.get(0).isDistribution(), is(true));
    assertThat(todos.get(1).getText(), is("text2"));
    assertThat(todos.get(1).getTodoId(), is(2));
    assertThat(todos.get(1).isDevelopment(), is(false));
    assertThat(todos.get(1).isDistribution(), is(false));
    assertThat(todos.get(1).getExternalIds().size(), is(1));
    assertThat(todos.get(1).getExternalIds().get("key"), is("value"));
}