### Question:
AbstractAdvisor extends StaticMethodMatcherPointcutAdvisor implements MethodInterceptor { @Override public boolean matches(Method method, Class<?> targetClass) { return methodDefinitions.containsKey(method) || methodDefinitions.containsKey(BridgeMethodResolver.findBridgedMethod(method)); } AbstractAdvisor(List<T> methodDefinitions); @Override Advice getAdvice(); @Override boolean matches(Method method, Class<?> targetClass); @Override boolean isPerInstance();  }### Answer:
@Test public void matches() { EclairLogger eclairLogger = mock(EclairLogger.class); LogAdvisor logAdvisor = LogAdvisor.newInstance(eclairLogger, singletonList(methodLog)); assertNotNull(logAdvisor); boolean matches = logAdvisor.matches(method, null); boolean bridgeMatches = logAdvisor.matches(bridgeMethod, null); assertTrue(matches); assertTrue(bridgeMatches); }