@Test public void testDbServerName() { when(server.getServerId()).thenReturn("some-name"); assertThat(underTest.getDbServerName()).isEqualTo("some-name"); }
public String getDbServerName() { return databaseServer.getServerId(); }
AzureDatabaseServerView { public String getDbServerName() { return databaseServer.getServerId(); } }
AzureDatabaseServerView { public String getDbServerName() { return databaseServer.getServerId(); } AzureDatabaseServerView(DatabaseServer databaseServer); }
AzureDatabaseServerView { public String getDbServerName() { return databaseServer.getServerId(); } 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 getDbServerName() { return databaseServer.getServerId(); } 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();  }