HystrixMethodHandler extends MicroserviceMethodHandler { @Override public MicroserviceProxyBean getProxyBean() { return methodHandler.getProxyBean(); } HystrixMethodHandler(final MicroserviceMethodHandler methodHandler);   HystrixMethodHandler(final MicroserviceMethodHandler methodHandler, final ServiceConfig serviceConfig); @Override Object invoke(final Method method, final Object... args); @Override MicroserviceProxyBean getProxyBean(); @Override InjectionPoint getInjectionPoint();  }
@Test public void testGetProxyBean() { HystrixMethodHandler hystrixMethodHandler = new HystrixMethodHandler(parentMethodHandler, null); Assertions.assertThat(hystrixMethodHandler.getProxyBean()).isEqualTo(microserviceProxyBean); }