test_class.file: services/src/test/java/com/greensopinion/finance/services/domain/TransactionsTest.java
test_class.identifier: TransactionsTest
test_case.body: @Test
  	public void byId() {
  		Transaction t1 = MockTransaction.create("2015-01-02", "a", 123);
  		Transaction t2 = MockTransaction.create("2015-01-02", "a", 123);
  		Transactions transactions = new Transactions(ImmutableList.of(t1, t2));
  		assertSame(t1, transactions.byId(t1.getId()));
  		assertSame(t2, transactions.byId(t2.getId()));
  		assertEquals(null, transactions.byId("not here"));
  	}
test_case.class_method_signature: TransactionsTest.byId()
test_case.full_signature: @Test public void byId()
test_case.identifier: byId
test_case.invocations: create create of assertSame byId getId assertSame byId getId assertEquals byId
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void byId()
focal_class.declarator: transactions
focal_class.modifier: private final
focal_class.original_string: private final List<Transaction> transactions;
focal_class.type: List<Transaction>
focal_class.var_name: transactions
focal_class.file: services/src/main/java/com/greensopinion/finance/services/domain/Transactions.java
focal_class.identifier: Transactions
focal_class.class_method_signature: Transactions.Transactions()
focal_class.full_signature: public  Transactions()
focal_class.identifier: Transactions
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.signature:  Transactions()
focal_class.class_method_signature: Transactions.Transactions(List<Transaction> transactions)
focal_class.full_signature: public  Transactions(List<Transaction> transactions)
focal_class.identifier: Transactions
focal_class.modifiers: public
focal_class.parameters: (List<Transaction> transactions)
focal_class.signature:  Transactions(List<Transaction> transactions)
focal_class.class_method_signature: Transactions.Transactions(Transaction... transactions)
focal_class.full_signature: public  Transactions(Transaction... transactions)
focal_class.identifier: Transactions
focal_class.modifiers: public
focal_class.parameters: (Transaction... transactions)
focal_class.signature:  Transactions(Transaction... transactions)
focal_class.class_method_signature: Transactions.getTransactions()
focal_class.full_signature: public List<Transaction> getTransactions()
focal_class.identifier: getTransactions
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: List<Transaction>
focal_class.signature: List<Transaction> getTransactions()
focal_class.class_method_signature: Transactions.byId(String id)
focal_class.full_signature: public Transaction byId(String id)
focal_class.identifier: byId
focal_class.modifiers: public
focal_class.parameters: (String id)
focal_class.return: Transaction
focal_class.signature: Transaction byId(String id)
focal_class.class_method_signature: Transactions.copyWithReplacement(Transaction transaction)
focal_class.full_signature: public Transactions copyWithReplacement(Transaction transaction)
focal_class.identifier: copyWithReplacement
focal_class.modifiers: public
focal_class.parameters: (Transaction transaction)
focal_class.return: Transactions
focal_class.signature: Transactions copyWithReplacement(Transaction transaction)
focal_method.body: public Transaction byId(String id) {
  		checkNotNull(id);
  		for (Transaction transaction : transactions) {
  			if (transaction.getId().equals(id)) {
  				return transaction;
  			}
  		}
  		return null;
  	}
focal_method.class_method_signature: Transactions.byId(String id)
focal_method.full_signature: public Transaction byId(String id)
focal_method.identifier: byId
focal_method.invocations: checkNotNull equals getId
focal_method.modifiers: public
focal_method.parameters: (String id)
focal_method.return: Transaction
focal_method.signature: Transaction byId(String id)