@Test public void testAdminPassword() { when(server.getRootPassword()).thenReturn("some-password"); assertThat(underTest.getAdminPassword()).isEqualTo("some-password"); }
public String getAdminPassword() { return databaseServer.getRootPassword(); }
AzureDatabaseServerView { public String getAdminPassword() { return databaseServer.getRootPassword(); } }
AzureDatabaseServerView { public String getAdminPassword() { return databaseServer.getRootPassword(); } AzureDatabaseServerView(DatabaseServer databaseServer); }
AzureDatabaseServerView { public String getAdminPassword() { return databaseServer.getRootPassword(); } 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 getAdminPassword() { return databaseServer.getRootPassword(); } 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();  }