use of com.fernandocejas.frodo.annotation.RxLogObservable in project frodo by android10.
the class LoggableObservableFactoryTest method shouldCreateLogEventsObservable.
@Test
public void shouldCreateLogEventsObservable() {
final RxLogObservable annotation = mock(RxLogObservable.class);
given(annotation.value()).willReturn(RxLogObservable.Scope.EVENTS);
final LoggableObservable loggableObservable = observableFactory.create(annotation);
assertThat(loggableObservable).isInstanceOf(LogEventsObservable.class);
}
Aggregations