public void Should_be_able_to_add_object_to_enumerable( FlyFishingBuddyCustomer myClass, string newValue) { var ret = myClass.With(m => m.Customer == new Customer(1, newValue, new string[0])); Assert.Equal(newValue, ret.Customer.Name); }