use of com.amazonaws.services.identitymanagement.model.ListServerCertificatesResult in project Synapse-Stack-Builder by Sage-Bionetworks.
the class SSLSetupTest method testDescribeSSLCertificateNoCertificate.
@Test(expected = IllegalStateException.class)
public void testDescribeSSLCertificateNoCertificate() {
ListServerCertificatesResult expectedLstssr = new ListServerCertificatesResult();
when(mockAmznIamClient.listServerCertificates()).thenReturn(expectedLstssr);
SSLSetup sslSetup = new SSLSetup(factory, config, resources);
sslSetup.describeSSLCertificate(StackEnvironmentType.REPO);
}
Aggregations