@Test
public void getKeyLength_whenPublicKeyIsNotSet_returnsZero() {

  final RsaCredentialVersionData rsaCredentialData = new RsaCredentialVersionData("testRsa");
  final RsaCredentialHelper rsaHelper = new RsaCredentialHelper(rsaCredentialData);
  assertThat(rsaHelper.getKeyLength(), equalTo(0));
}