@Test
void testDomain() {

    CertificateCredentials credentials = new CertificateCredentials(domain,
        environment, mock(AsymmetricKeyCredentialFactory.class));
    Assertions.assertEquals(domain, credentials.getDomain());
}