### Question:
AwsRdsInstanceView { public String getStorageType() { return databaseServer.getStringParameter(STORAGE_TYPE); } 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 testStorageType() { when(server.getStringParameter(STORAGE_TYPE)).thenReturn("gp2"); assertEquals("gp2", underTest.getStorageType()); }
@Test public void testNoStorageType() { when(server.getStringParameter(STORAGE_TYPE)).thenReturn(null); assertNull(underTest.getStorageType()); }