test_class.declarator: cleanupService
test_class.modifier: @Autowired
  	private
test_class.original_string: @Autowired
  	private CleanupService cleanupService;
test_class.type: CleanupService
test_class.var_name: cleanupService
test_class.declarator: bankService
test_class.modifier: @Autowired
  	private
test_class.original_string: @Autowired
  	private BankService bankService;
test_class.type: BankService
test_class.var_name: bankService
test_class.file: spring-ddd/spring-ddd-bank/src/test/java/de/beuth/knabe/spring_ddd_bank/domain/BankServiceTest.java
test_class.identifier: BankServiceTest
test_case.body: @Test
  	public void findYoungClients() {
  		bankService.createClient("kim", LocalDate.parse("1994-05-21"));
  		bankService.createClient("jack", LocalDate.parse("1966-12-31"));
  		bankService.createClient("chloe", LocalDate.parse("1992-12-01"));
  		{
  			// Expecting no clients:
  			final Iterable<Client> noClients = bankService.findYoungClients(LocalDate.parse("1994-05-22"));
  			final String result = stringize(noClients);
  			assertEquals("", result);
  		}
  		{
  			// Expecting one client:
  			final Iterable<Client> oneClients = bankService.findYoungClients(LocalDate.parse("1994-05-21"));
  			final String result = stringize(oneClients);
  			assertEquals("1994-05-21 kim", result);
  		}
  		{
  			// Expecting two clients:
  			final Iterable<Client> twoClients = bankService.findYoungClients(LocalDate.parse("1992-12-01"));
  			final String result = stringize(twoClients);
  			assertEquals("1994-05-21 kim, 1992-12-01 chloe", result);
  		}
  		{
  			// Expecting still two clients:
  			final Iterable<Client> twoClients = bankService.findYoungClients(LocalDate.parse("1967-01-01"));
  			final String result = stringize(twoClients);
  			assertEquals("1994-05-21 kim, 1992-12-01 chloe", result);
  		}
  		{
  			// Expecting three clients:
  			final Iterable<Client> twoClients = bankService.findYoungClients(LocalDate.parse("1966-12-31"));
  			final String result = stringize(twoClients);
  			assertEquals("1994-05-21 kim, 1992-12-01 chloe, 1966-12-31 jack", result);
  		}
  	}
test_case.class_method_signature: BankServiceTest.findYoungClients()
test_case.full_signature: @Test public void findYoungClients()
test_case.identifier: findYoungClients
test_case.invocations: createClient parse createClient parse createClient parse findYoungClients parse stringize assertEquals findYoungClients parse stringize assertEquals findYoungClients parse stringize assertEquals findYoungClients parse stringize assertEquals findYoungClients parse stringize assertEquals
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void findYoungClients()
focal_class.declarator: clientRepository
focal_class.modifier: private final
focal_class.original_string: private final ClientRepository clientRepository;
focal_class.type: ClientRepository
focal_class.var_name: clientRepository
focal_class.declarator: accountAccessRepository
focal_class.modifier: private final
focal_class.original_string: private final AccountAccessRepository accountAccessRepository;
focal_class.type: AccountAccessRepository
focal_class.var_name: accountAccessRepository
focal_class.file: spring-ddd/spring-ddd-bank/src/main/java/de/beuth/knabe/spring_ddd_bank/domain/BankService.java
focal_class.identifier: BankService
focal_class.class_method_signature: BankService.BankService(final ClientRepository clientRepository, final AccountAccessRepository accountAccessRepository)
focal_class.full_signature: @Autowired public  BankService(final ClientRepository clientRepository, final AccountAccessRepository accountAccessRepository)
focal_class.identifier: BankService
focal_class.modifiers: @Autowired public
focal_class.parameters: (final ClientRepository clientRepository, final AccountAccessRepository accountAccessRepository)
focal_class.signature:  BankService(final ClientRepository clientRepository, final AccountAccessRepository accountAccessRepository)
focal_class.class_method_signature: BankService.createClient(final String username, final LocalDate birthDate)
focal_class.full_signature: public Client createClient(final String username, final LocalDate birthDate)
focal_class.identifier: createClient
focal_class.modifiers: public
focal_class.parameters: (final String username, final LocalDate birthDate)
focal_class.return: Client
focal_class.signature: Client createClient(final String username, final LocalDate birthDate)
focal_class.class_method_signature: BankService.deleteClient(final Client client)
focal_class.full_signature: public void deleteClient(final Client client)
focal_class.identifier: deleteClient
focal_class.modifiers: public
focal_class.parameters: (final Client client)
focal_class.return: void
focal_class.signature: void deleteClient(final Client client)
focal_class.class_method_signature: BankService.findClient(final String username)
focal_class.full_signature: public Client findClient(final String username)
focal_class.identifier: findClient
focal_class.modifiers: public
focal_class.parameters: (final String username)
focal_class.return: Client
focal_class.signature: Client findClient(final String username)
focal_class.class_method_signature: BankService.findAllClients()
focal_class.full_signature: public List<Client> findAllClients()
focal_class.identifier: findAllClients
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: List<Client>
focal_class.signature: List<Client> findAllClients()
focal_class.class_method_signature: BankService.findYoungClients(final LocalDate fromBirth)
focal_class.full_signature: public List<Client> findYoungClients(final LocalDate fromBirth)
focal_class.identifier: findYoungClients
focal_class.modifiers: public
focal_class.parameters: (final LocalDate fromBirth)
focal_class.return: List<Client>
focal_class.signature: List<Client> findYoungClients(final LocalDate fromBirth)
focal_class.class_method_signature: BankService.findRichClients(final Amount minBalance)
focal_class.full_signature: public List<Client> findRichClients(final Amount minBalance)
focal_class.identifier: findRichClients
focal_class.modifiers: public
focal_class.parameters: (final Amount minBalance)
focal_class.return: List<Client>
focal_class.signature: List<Client> findRichClients(final Amount minBalance)
focal_method.body: public List<Client> findYoungClients(final LocalDate fromBirth) {
  		return clientRepository.findAllBornFrom(fromBirth);
  	}
focal_method.class_method_signature: BankService.findYoungClients(final LocalDate fromBirth)
focal_method.full_signature: public List<Client> findYoungClients(final LocalDate fromBirth)
focal_method.identifier: findYoungClients
focal_method.invocations: findAllBornFrom
focal_method.modifiers: public
focal_method.parameters: (final LocalDate fromBirth)
focal_method.return: List<Client>
focal_method.signature: List<Client> findYoungClients(final LocalDate fromBirth)