public class ConverterTestCase extends RestletTestCase {
public void testObjectToRepresentation() {
ConverterService cs = new ConverterService();
Feed feed = new Feed();
Representation representation = cs.toRepresentation(feed);
assertEquals(MediaType.APPLICATION_ATOM, representation.getMediaType());
}
public void testRepresentationToObject() throws IOException {
ConverterService cs = new ConverterService();