@Test
public void testGetProgramEntityDetailsFromApi() {

    ProgramEntity fakeProgramEntity = createFakeProgramEntity();
    Observable<ProgramEntity> fakeObservable = Observable.just( fakeProgramEntity );
    given( mockDvrApi.recordedProgramById( FAKE_RECORDED_ID, -1, null ) ).willReturn( fakeObservable );
    masterBackendDvrDataStore.recordedProgramEntityDetails( FAKE_RECORDED_ID );
    verify( mockDvrApi ).recordedProgramById( FAKE_RECORDED_ID, -1, null );
}