@Test(expected = IllegalArgumentException.class)
public void setValue_whenValueIsNull_throwsException() {

  valueCredentialData = new ValueCredentialVersionData("foo");
  subject = new ValueCredentialVersion(valueCredentialData);
  subject.setEncryptor(encryptor);
  subject.setValue(null);
}