}
@Test
public void testAccountsArea_oneAccount() {</BUG>
setUpLoginService(Arrays.asList(account1));
AccountsPanel panel = new AccountsPanel(null, loginService);
<BUG>panel.createDialogArea(shell);

assertEquals(1, panel.accountLabels.size());
panel.accountLabels.get(0).getText().contains(account2.getEmail());
}
@Test
public void testAccountsArea_threeAccounts() {</BUG>
setUpLoginService(Arrays.asList(account1, account2, account3));

}
@Test(expected = WidgetNotFoundException.class)
public void testLogOutButton_notLoggedIn() {
setUpLoginService();
AccountsPanel panel = new AccountsPanel(null, loginService);
Control control = panel.createDialogArea(shell);
new SWTBot(control).buttonWithId(AccountsPanel.CSS_CLASS_NAME_KEY, "logOutButton");
}
