test_class.declarator: classUnderTest
test_class.modifier: private
test_class.original_string: private GuestbookNavigation classUnderTest;
test_class.type: GuestbookNavigation
test_class.var_name: classUnderTest
test_class.declarator: daoMock
test_class.modifier: private
test_class.original_string: private EntryDao daoMock;
test_class.type: EntryDao
test_class.var_name: daoMock
test_class.file: google-sitebricks-sample/src/test/java/de/linsin/sample/sitebricks/resource/GuestbookNavigationTest.java
test_class.identifier: GuestbookNavigationTest
test_case.body: @Test
      public void test_no_next() {
          expect(daoMock.readAll()).andReturn(new ArrayList<Entry>());
          replay(daoMock);
          assertNull(classUnderTest.getNext());
          verify(daoMock);
      }
test_case.class_method_signature: GuestbookNavigationTest.test_no_next()
test_case.full_signature: @Test public void test_no_next()
test_case.identifier: test_no_next
test_case.invocations: andReturn expect readAll replay assertNull getNext verify
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void test_no_next()
focal_class.declarator: current
focal_class.modifier: private
focal_class.original_string: private Entry current;
focal_class.type: Entry
focal_class.var_name: current
focal_class.declarator: entryDao
focal_class.modifier: @Inject
      private
focal_class.original_string: @Inject
      private EntryDao entryDao;
focal_class.type: EntryDao
focal_class.var_name: entryDao
focal_class.file: google-sitebricks-sample/src/main/java/de/linsin/sample/sitebricks/resource/GuestbookNavigation.java
focal_class.identifier: GuestbookNavigation
focal_class.class_method_signature: GuestbookNavigation.getCurrent()
focal_class.full_signature: public Entry getCurrent()
focal_class.identifier: getCurrent
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Entry
focal_class.signature: Entry getCurrent()
focal_class.class_method_signature: GuestbookNavigation.setCurrent(Entry argCurrent)
focal_class.full_signature: public void setCurrent(Entry argCurrent)
focal_class.identifier: setCurrent
focal_class.modifiers: public
focal_class.parameters: (Entry argCurrent)
focal_class.return: void
focal_class.signature: void setCurrent(Entry argCurrent)
focal_class.class_method_signature: GuestbookNavigation.getNext()
focal_class.full_signature: public Entry getNext()
focal_class.identifier: getNext
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Entry
focal_class.signature: Entry getNext()
focal_class.class_method_signature: GuestbookNavigation.getPrevious()
focal_class.full_signature: public Entry getPrevious()
focal_class.identifier: getPrevious
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Entry
focal_class.signature: Entry getPrevious()
focal_class.class_method_signature: GuestbookNavigation.isNextExists()
focal_class.full_signature: public boolean isNextExists()
focal_class.identifier: isNextExists
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isNextExists()
focal_class.class_method_signature: GuestbookNavigation.isPreviousExists()
focal_class.full_signature: public boolean isPreviousExists()
focal_class.identifier: isPreviousExists
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isPreviousExists()
focal_class.class_method_signature: GuestbookNavigation.getEntryDao()
focal_class.full_signature: public EntryDao getEntryDao()
focal_class.identifier: getEntryDao
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: EntryDao
focal_class.signature: EntryDao getEntryDao()
focal_class.class_method_signature: GuestbookNavigation.setEntryDao(EntryDao argEntryDao)
focal_class.full_signature: public void setEntryDao(EntryDao argEntryDao)
focal_class.identifier: setEntryDao
focal_class.modifiers: public
focal_class.parameters: (EntryDao argEntryDao)
focal_class.return: void
focal_class.signature: void setEntryDao(EntryDao argEntryDao)
focal_method.body: public Entry getNext() {
          for (Entry entry : entryDao.readAll()) {
              if (entry.getId() > current.getId()) {
                  return entry;
              }
          }
          return null;
      }
focal_method.class_method_signature: GuestbookNavigation.getNext()
focal_method.full_signature: public Entry getNext()
focal_method.identifier: getNext
focal_method.invocations: readAll getId getId
focal_method.modifiers: public
focal_method.parameters: ()
focal_method.return: Entry
focal_method.signature: Entry getNext()