  @Test(expected = StatusRuntimeException.class)
  public void searchProducts_with_exception() throws Exception {

    when(productDao.searchProducts(any())).thenThrow(new IllegalStateException());
    blockingStub.searchProducts(SearchProductsRequest.getDefaultInstance());
  }