@Test public void returnsJsonArrayWhenUserHasOneSecret() throws Exception {

  when(aclDAO.getSanitizedSecretsFor(client)).thenReturn(ImmutableSet.of(sanitizedFirstSecret));
  List<SecretDeliveryResponse> secrets = secretsDeliveryResource.getSecrets(client);
  assertThat(secrets).containsOnly(SecretDeliveryResponse.fromSanitizedSecret(
      SanitizedSecret.fromSecret(firstSecret)));
}