@Test
public void testInvokeObjectMethod() throws Exception {

   MethodConfig methodConfig = MethodConfig.createBuilder(SERVICE_NAME, BEAN_NAME + ":" + FIELD_NAME)
                                           .hystrixActive(true)
                                           .build();
   ServiceConfig serviceConfig = new ServiceConfig(methodConfig);
   HystrixMethodHandler hystrixMethodHandler = new HystrixMethodHandler(parentMethodHandler, serviceConfig);
   Method method = UnstableMicroservice.class.getMethod("toString");
   Mockito.when(parentMethodHandler.invoke(method)).thenThrow(new FailingCallException());
   assertThatThrownBy(() -> hystrixMethodHandler.invoke(method))
         .isInstanceOf(FailingCallException.class);
}