@Test
public void testTransformProgramBillBad() throws Exception {

    ProgramEntity programEntity = programEntityJsonMapper.transformProgramEntity( JSON_RESPONSE_DVR_GET_RECORDED_BILL_BAD );
    assertThat( programEntity, not( nullValue() ) );
    MediaItemEntity mediaItem = MediaItemEntityDataMapper.transform( programEntity );
    assertThat( mediaItem, not( nullValue() ) );
    assertThat( mediaItem.id(), is( 0 ) );
    assertThat( mediaItem.media(), is( nullValue() ) );
    assertThat( mediaItem.duration(), lessThanOrEqualTo(0L) );
    assertThat( mediaItem.isValid(), is( false ) );
    assertThat( mediaItem.validationErrors(), hasSize( 3 ) );
}