use of com.fernandocejas.frodo.joinpoint.TestJoinPoint in project frodo by android10.
the class LogSubscriberTest method shouldWeaveClassOfTypeSubscriber.
@Test
public void shouldWeaveClassOfTypeSubscriber() {
final TestJoinPoint joinPoint = new TestJoinPoint.Builder(subscriber.getClass()).build();
final TestProceedingJoinPoint proceedingJoinPoint = new TestProceedingJoinPoint(joinPoint);
assertThat(LogSubscriber.classAnnotatedWithRxLogSubscriber(proceedingJoinPoint)).isTrue();
}
Aggregations