@Test(expected = NoSuchDaleqFieldException.class)
public void getFieldByName_should_throwForNonExistingField() {

    final String fieldName = "A";
    final FieldData existingField = field(fieldName, "foo");
    final ImmutableRowData row = new ImmutableRowData(fields(existingField));
    final FieldData result = row.getFieldBy("B");
    // should have failed yet.
    assertThat(result, is(nullValue()));
}