### Question:
LocalTCCRemotingParser extends AbstractedRemotingParser { @Override public boolean isService(Object bean, String beanName) { Class<?> classType = bean.getClass(); Set<Class<?>> interfaceClasses = ReflectionUtil.getInterfaces(classType); for (Class<?> interClass : interfaceClasses) { if (interClass.isAnnotationPresent(LocalTCC.class)) { return true; } } return false; }  @Override boolean isReference(Object bean, String beanName); @Override boolean isService(Object bean, String beanName); @Override RemotingDesc getServiceDesc(Object bean, String beanName); @Override short getProtocol();  }### Answer:
@Test public void testServiceParser(){ TccActionImpl tccAction = new TccActionImpl(); boolean result = localTCCRemotingParser.isService(tccAction, "a"); Assertions.assertTrue(result); }