ProductGateway { @HystrixCommand(ignoreExceptions = RemoteCallException.class) public List<ProductDto> findAllProducts() { List<ProductDto> productDtos = productClient.findAllProducts(); try { Thread.sleep(2000L); } catch (InterruptedException e) { e.printStackTrace(); } return productDtos; }  @HystrixCommand(ignoreExceptions = RemoteCallException.class) List<ProductDto> findProducts(List<Long> productIds); @HystrixCommand(ignoreExceptions = RemoteCallException.class) List<ProductDto> findAllProducts();  }
@Test @Ignore public void test() { List<ProductDto> productDtos = productGateway.findAllProducts(); assertThat(productDtos.isEmpty(), is(false)); }