@Test
public void shouldNotPrintMissingResponseParameters() {

    when(response.getHeaderString(ID)).thenReturn(CPP_ID);
    when(response.getMediaType()).thenReturn(null);
    when(response.getStatus()).thenReturn(404);
    JsonAssert.with(toResponseTrace(response))
            .assertNotDefined("MediaType")
            .assertEquals(ID, CPP_ID)
            .assertEquals("ResponseCode", 404);
}