@Test
void testAsMap()
{

    // GIVEN
    InternalRecord record = createRecord();
    // WHEN
    Map<String,Object> map = record.asMap();
    // THEN
    assertThat( map.keySet(), containsInAnyOrder( "k1", "k2" ) );
    assertThat( map.get( "k1" ), equalTo( 0L ) );
    assertThat( map.get( "k2" ), equalTo( 1L ) );
}