@Test public void testAllocatedStorageInMB() { when(server.getStorageSize()).thenReturn(5L); assertThat(underTest.getAllocatedStorageInMb()).isEqualTo(5L * 1024); }
public Long getAllocatedStorageInMb() { return databaseServer.getStorageSize() != null ? databaseServer.getStorageSize() * NUM_MB_IN_GB : null; }
AzureDatabaseServerView { public Long getAllocatedStorageInMb() { return databaseServer.getStorageSize() != null ? databaseServer.getStorageSize() * NUM_MB_IN_GB : null; } }
AzureDatabaseServerView { public Long getAllocatedStorageInMb() { return databaseServer.getStorageSize() != null ? databaseServer.getStorageSize() * NUM_MB_IN_GB : null; } AzureDatabaseServerView(DatabaseServer databaseServer); }
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(); }
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();  }