<s> from tests . test_helper import * <EOL> from datetime import date <EOL> class TestDisbursement ( unittest . TestCase ) : <EOL> def test_disbursement_finds_transactions ( self ) : <EOL> disbursement = Disbursement ( Configuration . gateway ( ) , { <EOL> "<STR_LIT>" : { <EOL> "<STR_LIT:id>" : "<STR_LIT>" , <EOL> "<STR_LIT:status>" : "<STR_LIT>" , <EOL> "<STR_LIT>" : { <EOL> "<STR_LIT:id>" : "<STR_LIT>" , <EOL> "<STR_LIT:status>" : "<STR_LIT>" <EOL> } , <EOL> } , <EOL> "<STR_LIT:id>" : "<STR_LIT>" , <EOL> "<STR_LIT>" : "<STR_LIT>" , <EOL> "<STR_LIT>" : "<STR_LIT>" , <EOL> "<STR_LIT>" : date ( <NUM_LIT> , <NUM_LIT:4> , <NUM_LIT:10> ) , <EOL> "<STR_LIT>" : "<STR_LIT>" , <EOL> "<STR_LIT>" : [ "<STR_LIT>" ] <EOL> } ) <EOL> transactions = disbursement . transactions ( ) <EOL> self . assertEquals ( <NUM_LIT:1> , transactions . maximum_size ) <EOL> self . assertEquals ( "<STR_LIT>" , transactions . first . id ) </s>
