public void SetUp() { _customer1 = new Customer("bamboo"); _customer2 = new Customer("prevalence"); _list = new ReaderWriterList(); _list.Add(_customer1); _list.Add(_customer2); }
public void TestMapEnumerable() { ReaderWriterList list = new ReaderWriterList(); list.Add(new Customer("bamboo")); list.Add(new Customer("prevalence")); list.Map(_list); AssertSame(_customer1, list[0]); AssertSame(_customer2, list[1]); }