### Question:
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();  }### Answer:
@Test public void testAdminLoginName() { when(server.getRootUserName()).thenReturn("some-user"); assertThat(underTest.getAdminLoginName()).isEqualTo("some-user"); }