@Test
public void listCallsPrintForListSecretsBatched() throws Exception {

  listActionConfig.listType = Arrays.asList("secrets");
  listActionConfig.idx = 0;
  listActionConfig.num = 10;
  listActionConfig.newestFirst = false;
  listAction.run();
  verify(printing).printAllSanitizedSecrets(keywhizClient.allSecretsBatched(0, 10, false));
}