@Test
 public void testRepresentationToObject() throws IOException, JAXBException {
   ConverterService cs = new ConverterService();
   ProtobufRepresentation<org.restlet.ext.protobuf.Sample.PersonDto> protobufRep =
       new ProtobufRepresentation<org.restlet.ext.protobuf.Sample.PersonDto>(
           org.restlet.ext.protobuf.Sample.PersonDto.newBuilder().build(),
           MediaType.APPLICATION_XML);
   Object rep = cs.toObject(protobufRep, org.restlet.ext.protobuf.Sample.PersonDto.class, null);
   assertTrue(rep instanceof org.restlet.ext.protobuf.Sample.PersonDto);
 }
 @Test
 public void testObjectionToRepresentation() {
   ConverterService cs = new ConverterService();
   Representation rep =
       cs.toRepresentation(
           org.restlet.ext.protobuf.Sample.PersonDto.newBuilder().build(),
           new Variant(MediaType.APPLICATION_XML),
           null);
   assertTrue(rep instanceof ProtobufRepresentation<?>);
 }