}
}
public void testRepresentationEncoderImpl() throws Exception {
FormRepresentationEncoderImpl encoder = new FormRepresentationEncoderImpl();
FormRepresentationDecoderImpl decoder = new FormRepresentationDecoderImpl();
FormEncodingFactory.register(encoder, decoder);
assertNull("result should be null", encoder.fromMap(null));
assertNull("result should be null", encoder.fromMap(new HashMap<String, Object>()));