@Test(expected = AssertionError.class)
public void describeThrowsIfClientDoesNotExist() throws Exception {

  describeActionConfig.describeType = Arrays.asList("client");
  describeActionConfig.name = "nonexistent-client-name";
  when(keywhizClient.getClientByName("nonexistent-client-name")).thenThrow(
      new NotFoundException());
  when(keywhizClient.allClients()).thenReturn(Arrays.asList());
  describeAction.run();
}