public ExpectedRecords<T> expect(T record){
  expectedRecords.add(record);
  return this;
}

public ExpectedRecords < T > expect ( T record ) { expectedRecords . add ( record ) ; return this ; }
adds an record to the list of expected output
