@Test public void testBackupRetentionDays() { when(server.getParameter(BACKUP_RETENTION_DAYS, Integer.class)).thenReturn(5); assertThat(underTest.getBackupRetentionDays()).isEqualTo(5); }
public Integer getBackupRetentionDays() { return databaseServer.getParameter(BACKUP_RETENTION_DAYS, Integer.class); }
AzureDatabaseServerView { public Integer getBackupRetentionDays() { return databaseServer.getParameter(BACKUP_RETENTION_DAYS, Integer.class); } }
AzureDatabaseServerView { public Integer getBackupRetentionDays() { return databaseServer.getParameter(BACKUP_RETENTION_DAYS, Integer.class); } AzureDatabaseServerView(DatabaseServer databaseServer); }
AzureDatabaseServerView { public Integer getBackupRetentionDays() { return databaseServer.getParameter(BACKUP_RETENTION_DAYS, Integer.class); } 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 Integer getBackupRetentionDays() { return databaseServer.getParameter(BACKUP_RETENTION_DAYS, Integer.class); } 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();  }