### Question:
AuthConfigurationProperties { public String validatedZosmfServiceId() { if (provider.equalsIgnoreCase(AuthenticationScheme.ZOSMF.getScheme())) { if ((zosmfServiceId == null) || zosmfServiceId.isEmpty()) { apimlLog.log("org.zowe.apiml.security.zosmfNotFound"); throw new AuthenticationServiceException("The parameter 'zosmfServiceId' is not configured."); } } return zosmfServiceId; } AuthConfigurationProperties(); String validatedZosmfServiceId();  }### Answer:
@Test(expected = AuthenticationServiceException.class) public void shouldThrowWhenZosmfIsNotConfigured() { authConfigurationProperties.setZosmfServiceId(null); authConfigurationProperties.validatedZosmfServiceId(); }
@Test public void shouldReturnWhenZosmfIsConfigured() { authConfigurationProperties.setZosmfServiceId("ZOSMF_SID"); assertEquals("ZOSMF_SID", authConfigurationProperties.validatedZosmfServiceId()); }