### Question:
AwsRdsInstanceView { public Long getAllocatedStorage() { return databaseServer.getStorageSize(); } 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 testAllocatedStorage() { when(server.getStorageSize()).thenReturn(50L); assertEquals(50L, underTest.getAllocatedStorage().longValue()); }