@Test
public void createKeyProxy_getsKeyIfKeyExists() throws Exception {

  setupKeyExists();
  final EncryptionKeyMetadata keyMetadata = new EncryptionKeyMetadata();
  keyMetadata.setEncryptionKeyName("fake_key_name");
  subject = new LunaEncryptionService(connection, true, timedRetry);
  assertThat(subject.createKeyProxy(keyMetadata).getKey(), equalTo(aesKey));
  verify(connection, never()).setKeyEntry("fake_key_name", aesKey);
}