MyModel implements ExtensionModel { public List<String> getKeys() { return Arrays.asList( "link" ); }  String getId(); void setLink( String link ); String getLink(); Map<String, String> getValuesAsMap(); void setValuesFromMap( Map<String, String> values ); List<String> getKeys();  }
@Test public void testGetKeys() { assert model.getKeys().equals( Arrays.asList( "link" ) ); }