}
@Test
public void testCanonicalRepresentation_Client_AllFields_Post() throws Exception {
MessageBodyWriter<String> messageBodyWriter = new StringProvider();
// Mock Providers
Providers providers = mock(Providers.class);
when(providers.getMessageBodyWriter(String.class, String.class,
new Annotation[0], MediaType.APPLICATION_JSON_TYPE)).thenReturn(messageBodyWriter);