@Test
public void testProcessShouldCallDecoderWhenEntityHasBinaryContent() throws ApplicationException {

    //GIVEN
    given(entity.getHeader(CONTENT_TYPE)).willReturn(FAST_INFOSET);
    given(decoder.decode(BODY)).willReturn(result);
    //WHEN
    underTest.process(entity);
    //THEN
    verify(decoder).decode(BODY);
}