@Test
public void getFieldByName_should_getAnExistingField() {

    final String fieldName = "A";
    final FieldData existingField = field(fieldName, "foo");
    final ImmutableRowData row = new ImmutableRowData(fields(existingField));
    assertThat(row.getFieldBy(fieldName), is(existingField));
}