HeaderParserObject { public boolean isLoggedIn() { return mIsLoggedIn; } HeaderParserObject(Document doc); boolean isLoggedIn(); String getFilterName(); String getAvatarUrl();  }
@Test public void testIsLoggedIn() { assertThat(loggedInBox.isLoggedIn(), is(true)); assertThat(loggedOutBox.isLoggedIn(), is(false)); }