@Test public void shouldLogInformation() throws Throwable { frodoObservable.observable().subscribe(observer); observer.dispose(); verify(messageManager).printRxComponentInfo(any(RxComponentInfo.class)); verify(messageManager).printOnSubscribe(any(RxComponentInfo.class)); verify(messageManager).printOnNextWithValue(any(RxComponentInfo.class), any()); verify(messageManager).printOnComplete(any(RxComponentInfo.class)); verify(messageManager).printOnTerminate(any(RxComponentInfo.class)); verify(messageManager).printItemTimeInfo(any(RxComponentInfo.class)); verify(messageManager).printThreadInfo(any(RxComponentInfo.class)); verify(messageManager).printOnDispose(any(RxComponentInfo.class)); }
Observable observable() throws Throwable { messageManager.printRxComponentInfo(rxComponentInfo); final Class observableType = joinPoint.getGenericReturnTypes().get(0); return loggableObservable(observableType); }
FrodoForObservable { Observable observable() throws Throwable { messageManager.printRxComponentInfo(rxComponentInfo); final Class observableType = joinPoint.getGenericReturnTypes().get(0); return loggableObservable(observableType); } }
FrodoForObservable { Observable observable() throws Throwable { messageManager.printRxComponentInfo(rxComponentInfo); final Class observableType = joinPoint.getGenericReturnTypes().get(0); return loggableObservable(observableType); } FrodoForObservable(FrodoProceedingJoinPoint joinPoint, MessageManager messageManager); }
FrodoForObservable { Observable observable() throws Throwable { messageManager.printRxComponentInfo(rxComponentInfo); final Class observableType = joinPoint.getGenericReturnTypes().get(0); return loggableObservable(observableType); } FrodoForObservable(FrodoProceedingJoinPoint joinPoint, MessageManager messageManager);  }
FrodoForObservable { Observable observable() throws Throwable { messageManager.printRxComponentInfo(rxComponentInfo); final Class observableType = joinPoint.getGenericReturnTypes().get(0); return loggableObservable(observableType); } FrodoForObservable(FrodoProceedingJoinPoint joinPoint, MessageManager messageManager);   }