ContinentSerializer implements OObjectSerializer<Continent, String> { @Override public Object serializeFieldValue(Class<?> iClass, Continent iFieldValue) { return iFieldValue.name(); }  @Override Object serializeFieldValue(Class<?> iClass, Continent iFieldValue); @Override Object unserializeFieldValue(Class<?> iClass, String iFieldValue);  }
@Test public void testSerializeFieldValue() { System.out.println("serializeFieldValue"); Class iClass = null; ContinentSerializer instance = new ContinentSerializer(); Object expResult = Continent.Africa.name(); Object result = instance.serializeFieldValue(iClass, Continent.Africa); System.out.println("Result: " + expResult.toString()); assertEquals(expResult, result.toString()); }