@Test
public void testGetCredSource() {

    CertificateAuthority authority = new CertificateAuthority();
    authority.initialize();
    assertEquals(CredSource.CERTIFICATE, authority.getCredSource());
}