test_class.declarator: testee
test_class.modifier: @Autowired
      private
test_class.original_string: @Autowired
      private ClientRepository testee;
test_class.type: ClientRepository
test_class.var_name: testee
test_class.file: spring-ddd/spring-ddd-bank/src/test/java/de/beuth/knabe/spring_ddd_bank/infrastructure/ClientJpaRepositoryTest.java
test_class.identifier: ClientJpaRepositoryTest
test_case.body: @Test
      public void findAllBornFrom(){
          final LocalDate jackBirthDate = LocalDate.parse("1966-12-31");
  		final Client jack = new Client("jack", jackBirthDate);
          final LocalDate chloeBirthDate = LocalDate.parse("1977-01-01");
  		final Client chloe = new Client("chloe", chloeBirthDate);        
          testee.save(jack);
          testee.save(chloe);
          {
              final List<Client> clients = testee.findAll(); //newest first
              assertEquals(Arrays.asList(chloe, jack), clients);        	
          }
          {
              final List<Client> clients = testee.findAllBornFrom(jackBirthDate); //newest first
              assertEquals(Arrays.asList(chloe, jack), clients);        	
          }
          {
              final List<Client> clients = testee.findAllBornFrom(jackBirthDate.plusDays(1)); //newest first
              assertEquals(Arrays.asList(chloe), clients);        	
          }
          {
              final List<Client> clients = testee.findAllBornFrom(chloeBirthDate); //newest first
              assertEquals(Arrays.asList(chloe), clients);        	
          }
          {
              final List<Client> clients = testee.findAllBornFrom(chloeBirthDate.plusDays(1)); //newest first
              assertEquals(Arrays.asList(), clients);        	
          }
      }
test_case.class_method_signature: ClientJpaRepositoryTest.findAllBornFrom()
test_case.full_signature: @Test public void findAllBornFrom()
test_case.identifier: findAllBornFrom
test_case.invocations: parse parse save save findAll assertEquals asList findAllBornFrom assertEquals asList findAllBornFrom plusDays assertEquals asList findAllBornFrom assertEquals asList findAllBornFrom plusDays assertEquals asList
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void findAllBornFrom()
focal_class.declarator: impl
focal_class.modifier: private final
focal_class.original_string: private final ImportedClientJpaRepository impl;
focal_class.type: ImportedClientJpaRepository
focal_class.var_name: impl
focal_class.file: spring-ddd/spring-ddd-bank/src/main/java/de/beuth/knabe/spring_ddd_bank/infrastructure/ClientJpaRepository.java
focal_class.identifier: ClientJpaRepository
focal_class.interfaces: implements ClientRepository
focal_class.class_method_signature: ClientJpaRepository.ClientJpaRepository(final ImportedClientJpaRepository impl)
focal_class.full_signature: @Autowired public  ClientJpaRepository(final ImportedClientJpaRepository impl)
focal_class.identifier: ClientJpaRepository
focal_class.modifiers: @Autowired public
focal_class.parameters: (final ImportedClientJpaRepository impl)
focal_class.signature:  ClientJpaRepository(final ImportedClientJpaRepository impl)
focal_class.class_method_signature: ClientJpaRepository.deleteAll()
focal_class.full_signature: public void deleteAll()
focal_class.identifier: deleteAll
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void deleteAll()
focal_class.class_method_signature: ClientJpaRepository.save(final Client client)
focal_class.full_signature: public Client save(final Client client)
focal_class.identifier: save
focal_class.modifiers: public
focal_class.parameters: (final Client client)
focal_class.return: Client
focal_class.signature: Client save(final Client client)
focal_class.class_method_signature: ClientJpaRepository.delete(Client client)
focal_class.full_signature: public void delete(Client client)
focal_class.identifier: delete
focal_class.modifiers: public
focal_class.parameters: (Client client)
focal_class.return: void
focal_class.signature: void delete(Client client)
focal_class.class_method_signature: ClientJpaRepository.find(Long id)
focal_class.full_signature: @Override public Optional<Client> find(Long id)
focal_class.identifier: find
focal_class.modifiers: @Override public
focal_class.parameters: (Long id)
focal_class.return: Optional<Client>
focal_class.signature: Optional<Client> find(Long id)
focal_class.class_method_signature: ClientJpaRepository.find(String username)
focal_class.full_signature: @Override public Optional<Client> find(String username)
focal_class.identifier: find
focal_class.modifiers: @Override public
focal_class.parameters: (String username)
focal_class.return: Optional<Client>
focal_class.signature: Optional<Client> find(String username)
focal_class.class_method_signature: ClientJpaRepository.findAll()
focal_class.full_signature: public List<Client> findAll()
focal_class.identifier: findAll
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: List<Client>
focal_class.signature: List<Client> findAll()
focal_class.class_method_signature: ClientJpaRepository.findAllBornFrom(final LocalDate minDate)
focal_class.full_signature: public List<Client> findAllBornFrom(final LocalDate minDate)
focal_class.identifier: findAllBornFrom
focal_class.modifiers: public
focal_class.parameters: (final LocalDate minDate)
focal_class.return: List<Client>
focal_class.signature: List<Client> findAllBornFrom(final LocalDate minDate)
focal_method.body: public List<Client> findAllBornFrom(final LocalDate minDate){
          return impl.findAllByBirthDateGreaterThanEqualOrderByBirthDateDescIdDesc(minDate);
      }
focal_method.class_method_signature: ClientJpaRepository.findAllBornFrom(final LocalDate minDate)
focal_method.full_signature: public List<Client> findAllBornFrom(final LocalDate minDate)
focal_method.identifier: findAllBornFrom
focal_method.invocations: findAllByBirthDateGreaterThanEqualOrderByBirthDateDescIdDesc
focal_method.modifiers: public
focal_method.parameters: (final LocalDate minDate)
focal_method.return: List<Client>
focal_method.signature: List<Client> findAllBornFrom(final LocalDate minDate)