RedisMasterCheckActionFactory extends AbstractLeaderAwareHealthCheckActionFactory implements OneWaySupport, BiDirectionSupport { @Override public Class<? extends SiteLeaderAwareHealthCheckAction> support() { return RedisMasterCheckAction.class; } @Autowired  RedisMasterCheckActionFactory(List<RedisMasterController> controllers, List<RedisMasterActionListener> listeners); @Override SiteLeaderAwareHealthCheckAction create(RedisHealthCheckInstance instance); @Override Class<? extends SiteLeaderAwareHealthCheckAction> support();  }
@Test public void testSupport() { Assert.assertEquals(RedisMasterCheckAction.class, factory.support()); }