### Question:
AzureDatabaseServerView { public Long getAllocatedStorageInMb() { return databaseServer.getStorageSize() != null ? databaseServer.getStorageSize() * NUM_MB_IN_GB : null; } AzureDatabaseServerView(DatabaseServer databaseServer); Long getAllocatedStorageInMb(); Integer getBackupRetentionDays(); Integer getSkuCapacity(); String getSkuFamily(); String getSkuName(); String getSkuTier(); String getDbServerName(); String getDatabaseType(); String getDbVersion(); Boolean getGeoRedundantBackup(); Boolean getStorageAutoGrow(); String getAdminLoginName(); String getAdminPassword(); Integer getPort(); String getLocation();  }### Answer:
@Test public void testAllocatedStorageInMB() { when(server.getStorageSize()).thenReturn(5L); assertThat(underTest.getAllocatedStorageInMb()).isEqualTo(5L * 1024); }