### Question:
AwsRdsInstanceView { public String getEngineVersion() { return databaseServer.getStringParameter(ENGINE_VERSION); } 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 testEngineVersion() { when(server.getStringParameter(ENGINE_VERSION)).thenReturn("1.2.3"); assertEquals("1.2.3", underTest.getEngineVersion()); }
@Test public void testNoEngineVersion() { when(server.getStringParameter(ENGINE_VERSION)).thenReturn(null); assertNull(underTest.getEngineVersion()); }