@Test
public void rollbackCallsRollback() throws Exception {

  rollbackAction.inputStream = yes;
  rollbackActionConfig.name = secret.getDisplayName();
  rollbackActionConfig.id = 1L;
  when(keywhizClient.getSanitizedSecretByName(secret.getName())).thenReturn(sanitizedSecret);
  rollbackAction.run();
  verify(keywhizClient).rollbackSecret(sanitizedSecret.name(), rollbackActionConfig.id);
}