@Test public void shouldPrintObservableInfo() throws Throwable { frodoObservable.getObservable(); verify(messageManager).printObservableInfo(any(ObservableInfo.class)); }
public rx.Observable getObservable() throws Throwable { messageManager.printObservableInfo(observableInfo); final Class observableType = joinPoint.getGenericReturnTypes().get(0); final Annotation annotation = joinPoint.getAnnotation(RxLogObservable.class); return observableFactory.create(annotation).get(observableType); }
FrodoObservable { public rx.Observable getObservable() throws Throwable { messageManager.printObservableInfo(observableInfo); final Class observableType = joinPoint.getGenericReturnTypes().get(0); final Annotation annotation = joinPoint.getAnnotation(RxLogObservable.class); return observableFactory.create(annotation).get(observableType); } }
FrodoObservable { public rx.Observable getObservable() throws Throwable { messageManager.printObservableInfo(observableInfo); final Class observableType = joinPoint.getGenericReturnTypes().get(0); final Annotation annotation = joinPoint.getAnnotation(RxLogObservable.class); return observableFactory.create(annotation).get(observableType); } FrodoObservable(FrodoProceedingJoinPoint joinPoint, MessageManager messageManager,
      LoggableObservableFactory observableFactory); }
FrodoObservable { public rx.Observable getObservable() throws Throwable { messageManager.printObservableInfo(observableInfo); final Class observableType = joinPoint.getGenericReturnTypes().get(0); final Annotation annotation = joinPoint.getAnnotation(RxLogObservable.class); return observableFactory.create(annotation).get(observableType); } FrodoObservable(FrodoProceedingJoinPoint joinPoint, MessageManager messageManager,
      LoggableObservableFactory observableFactory); rx.Observable getObservable(); }
FrodoObservable { public rx.Observable getObservable() throws Throwable { messageManager.printObservableInfo(observableInfo); final Class observableType = joinPoint.getGenericReturnTypes().get(0); final Annotation annotation = joinPoint.getAnnotation(RxLogObservable.class); return observableFactory.create(annotation).get(observableType); } FrodoObservable(FrodoProceedingJoinPoint joinPoint, MessageManager messageManager,
      LoggableObservableFactory observableFactory); rx.Observable getObservable();  }