@Test public void shouldLogInformation() throws Throwable { frodoForSingle.single().subscribe(observer); observer.dispose(); verify(messageManager).printRxComponentInfo(any(RxComponentInfo.class)); verify(messageManager).printOnSubscribe(any(RxComponentInfo.class)); verify(messageManager).printOnSuccessWithValue(any(RxComponentInfo.class), any()); verify(messageManager).printItemTimeInfo(any(RxComponentInfo.class)); verify(messageManager).printThreadInfo(any(RxComponentInfo.class)); verify(messageManager).printOnDispose(any(RxComponentInfo.class)); }
Single single() throws Throwable { messageManager.printRxComponentInfo(rxComponentInfo); final Class singleType = joinPoint.getGenericReturnTypes().get(0); return loggableSingle(singleType); }
FrodoForSingle { Single single() throws Throwable { messageManager.printRxComponentInfo(rxComponentInfo); final Class singleType = joinPoint.getGenericReturnTypes().get(0); return loggableSingle(singleType); } }
FrodoForSingle { Single single() throws Throwable { messageManager.printRxComponentInfo(rxComponentInfo); final Class singleType = joinPoint.getGenericReturnTypes().get(0); return loggableSingle(singleType); } FrodoForSingle(FrodoProceedingJoinPoint joinPoint, MessageManager messageManager); }
FrodoForSingle { Single single() throws Throwable { messageManager.printRxComponentInfo(rxComponentInfo); final Class singleType = joinPoint.getGenericReturnTypes().get(0); return loggableSingle(singleType); } FrodoForSingle(FrodoProceedingJoinPoint joinPoint, MessageManager messageManager);  }
FrodoForSingle { Single single() throws Throwable { messageManager.printRxComponentInfo(rxComponentInfo); final Class singleType = joinPoint.getGenericReturnTypes().get(0); return loggableSingle(singleType); } FrodoForSingle(FrodoProceedingJoinPoint joinPoint, MessageManager messageManager);   }