@Test
public void shouldParseDifferentSpecificType() throws Exception {
// Given
when(response.getStatus()).thenReturn(EXPECTED_STATUS);
InventoryRepresentation representation = new InventoryRepresentation();
when(response.getEntity(InventoryRepresentation.class)).thenReturn(representation);
// When
InventoryRepresentation result = parser.parse(response, EXPECTED_STATUS, InventoryRepresentation.class);
// Then
assertThat(result, sameInstance(representation));
}