@Test public void shouldLogInformation() throws Throwable { frodoForMaybe.maybe().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)); }
Maybe maybe() throws Throwable { messageManager.printRxComponentInfo(rxComponentInfo); final Class singleType = joinPoint.getGenericReturnTypes().get(0); return loggableMaybe(singleType); }
FrodoForMaybe { Maybe maybe() throws Throwable { messageManager.printRxComponentInfo(rxComponentInfo); final Class singleType = joinPoint.getGenericReturnTypes().get(0); return loggableMaybe(singleType); } }
FrodoForMaybe { Maybe maybe() throws Throwable { messageManager.printRxComponentInfo(rxComponentInfo); final Class singleType = joinPoint.getGenericReturnTypes().get(0); return loggableMaybe(singleType); } FrodoForMaybe(FrodoProceedingJoinPoint joinPoint, MessageManager messageManager); }
FrodoForMaybe { Maybe maybe() throws Throwable { messageManager.printRxComponentInfo(rxComponentInfo); final Class singleType = joinPoint.getGenericReturnTypes().get(0); return loggableMaybe(singleType); } FrodoForMaybe(FrodoProceedingJoinPoint joinPoint, MessageManager messageManager);  }
FrodoForMaybe { Maybe maybe() throws Throwable { messageManager.printRxComponentInfo(rxComponentInfo); final Class singleType = joinPoint.getGenericReturnTypes().get(0); return loggableMaybe(singleType); } FrodoForMaybe(FrodoProceedingJoinPoint joinPoint, MessageManager messageManager);   }