HeaderParserObject { public String getAvatarUrl() { Element avatarImg = mHeader.select(".header__link-user img").first(); return UserDataParser.parseAvatarUrlFromImgElement(avatarImg); } HeaderParserObject(Document doc); boolean isLoggedIn(); String getFilterName(); String getAvatarUrl();  }
@Test public void testAvatarUrl() { assertThat(loggedInBox.getAvatarUrl(), is("https: assertThat(loggedOutBox.getAvatarUrl(), is(UserDataParser.DEFAULT_AVATAR_SRC)); }