@Test public void testAdminLoginName() { when(server.getRootUserName()).thenReturn("some-user"); assertThat(underTest.getAdminLoginName()).isEqualTo("some-user"); }
public String getAdminLoginName() { return databaseServer.getRootUserName(); }
AzureDatabaseServerView { public String getAdminLoginName() { return databaseServer.getRootUserName(); } }
AzureDatabaseServerView { public String getAdminLoginName() { return databaseServer.getRootUserName(); } AzureDatabaseServerView(DatabaseServer databaseServer); }
AzureDatabaseServerView { public String getAdminLoginName() { return databaseServer.getRootUserName(); } 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 getAdminLoginName() { return databaseServer.getRootUserName(); } 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();  }