@Test
public void findByCanaryUuids() throws Exception {

  final List<UUID> canaryUuids = Collections.singletonList(UUID.randomUUID());
  final Slice<EncryptedValue> encryptedValues = new SliceImpl(Collections.singletonList(new EncryptedValue()));
  when(encryptedValueRepository.findByEncryptionKeyUuidIn(eq(canaryUuids), any())).thenReturn(encryptedValues);
  assertThat(subject.findByCanaryUuids(canaryUuids), equalTo(encryptedValues));
}