### Question:
Credential { public Optional<AzureParameters> getAzure() { return azure; } Credential(String crn, String name, String attributes);  Credential(String crn, String name, String attributes, AzureParameters azure); String getCrn(); String getName(); String getAttributes(); Optional<AzureParameters> getAzure();  }### Answer:
@Test public void testAzureParameters() { Credential.AzureParameters azure = new Credential.AzureParameters(SUBSCRIPTION_ID); underTest = new Credential(CRN, NAME, ATTRIBUTES, azure); assertEquals(SUBSCRIPTION_ID, underTest.getAzure().get().getSubscriptionId()); }