@Test
void testEnvironment() {

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