### Question:
InternalRecord extends InternalMapAccessorWithDefaultValue implements Record { @Override public String toString() { return format( "Record<%s>", formatPairs( asMap( ofValue() ) ) ); } InternalRecord( List<String> keys, Value[] values );  InternalRecord( QueryKeys queryKeys, Value[] values ); @Override List<String> keys(); @Override List<Value> values(); @Override List<Pair<String, Value>> fields(); @Override int index( String key ); @Override boolean containsKey( String key ); @Override Value get( String key ); @Override Value get( int index ); @Override int size(); @Override Map<String, Object> asMap(); @Override Map<String,T> asMap( Function<Value,T> mapper ); @Override String toString(); @Override boolean equals( Object other ); @Override int hashCode();  }### Answer:
@Test void testToString() { InternalRecord record = createRecord(); assertThat( record.toString(), equalTo( "Record<{k1: 0, k2: 1}>" ) ); }