@Test
public void firstUserInDetailsShouldBeLeader()
{
BrowseProjectPage browseProjectPage = jira.gotoLoginPage().loginAsSysAdmin(BrowseProjectPage.class, "DBW");
LeaderboardProjectTab leaderboardProjectTab = browseProjectPage.openTab(LeaderboardProjectTab.class);
UserDetailsRow userDetailsFirstRow = leaderboardProjectTab.getUserDetails().iterator().next();
assertEquals(leaderboardProjectTab.getUserLeader(), userDetailsFirstRow.getUsername());
}