question: public ExpectedRecords < T > expect ( T record , int times ) { if ( record == null ) { throw new IllegalArgumentException ( "Record has too be not null!" ) ; } expectedRecords . add ( record ) ; return this ; }
target:  Adds an record to the collection of expected output