@Test
public void getValue_decryptsValue() {

  valueCredentialData = new ValueCredentialVersionData("foo");
  subject = new ValueCredentialVersion(valueCredentialData);
  subject.setEncryptor(encryptor);
  subject.setValue("my-value");
  assertThat(subject.getValue(), equalTo("my-value"));
}