@Test public void testDbVersion() { when(server.getStringParameter(DB_VERSION)).thenReturn("1234"); assertThat(underTest.getDbVersion()).isEqualTo("1234"); }
public String getDbVersion() { return databaseServer.getStringParameter(DB_VERSION); }
AzureDatabaseServerView { public String getDbVersion() { return databaseServer.getStringParameter(DB_VERSION); } }
AzureDatabaseServerView { public String getDbVersion() { return databaseServer.getStringParameter(DB_VERSION); } AzureDatabaseServerView(DatabaseServer databaseServer); }
AzureDatabaseServerView { public String getDbVersion() { return databaseServer.getStringParameter(DB_VERSION); } 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 String getDbVersion() { return databaseServer.getStringParameter(DB_VERSION); } 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();  }