### Question:
AwsRdsInstanceView { public String getMultiAZ() { return databaseServer.getStringParameter(MULTI_AZ); } AwsRdsInstanceView(DatabaseServer databaseServer); Long getAllocatedStorage(); Integer getBackupRetentionPeriod(); String getDBInstanceClass(); String getDBInstanceIdentifier(); String getEngine(); String getEngineVersion(); String getMasterUsername(); String getMasterUserPassword(); String getMultiAZ(); String getStorageType(); List<String> getVPCSecurityGroups();  }### Answer:
@Test public void testMultiAZ() { when(server.getStringParameter(MULTI_AZ)).thenReturn("true"); assertEquals("true", underTest.getMultiAZ()); }
@Test public void testNoMultiAZ() { when(server.getStringParameter(MULTI_AZ)).thenReturn(null); assertNull(underTest.getMultiAZ()); }