@@ -113,24 +113,6 @@ public override void should_set_the_list_items()
113
113
}
114
114
}
115
115
116
- [ TestFixture ]
117
- public class When_a_set_property_with_a_public_setter_is_set : When_a_list_property_with_is_set_successfully
118
- {
119
- protected override Expression < Func < ListEntity , IEnumerable > > GetPropertyExpression ( )
120
- {
121
- return x => x . Set ;
122
- }
123
-
124
- [ Test ]
125
- public override void should_set_the_list_items ( )
126
- {
127
- foreach ( var listItem in listItems )
128
- {
129
- target . Set . Contains ( listItem ) . ShouldBeTrue ( ) ;
130
- }
131
- }
132
- }
133
-
134
116
[ TestFixture ]
135
117
public class When_a_typed_set_property_with_a_public_setter_is_set : When_a_list_property_with_is_set_successfully
136
118
{
@@ -496,56 +478,6 @@ public void should_fail_with_the_exception_from_the_equality_comparer()
496
478
}
497
479
}
498
480
499
- [ TestFixture ]
500
- public class When_the_checked_typed_set_is_equal_to_the_expected_list : With_initialized_list
501
- {
502
- public override void establish_context ( )
503
- {
504
- property = ReflectionHelper . GetAccessor ( ( Expression < Func < ListEntity , IEnumerable < string > > > ) ( x => x . TypedSet ) ) ;
505
- target = new ListEntity ( ) ;
506
-
507
- sut = new List < ListEntity , string > ( property , new [ ] { "foo" , "bar" , "baz" } ) ;
508
-
509
- target . TypedSet . AddAll ( new [ ] { "foo" , "bar" , "baz" } ) ;
510
- }
511
-
512
- public override void because ( )
513
- {
514
- sut . CheckValue ( target ) ;
515
- }
516
-
517
- [ Test ]
518
- public void should_succeed ( )
519
- {
520
- thrown_exception . ShouldBeNull ( ) ;
521
- }
522
- }
523
-
524
- [ TestFixture ]
525
- public class When_the_checked_set_is_equal_to_the_expected_list : With_initialized_list
526
- {
527
- public override void establish_context ( )
528
- {
529
- property = ReflectionHelper . GetAccessor ( ( Expression < Func < ListEntity , IEnumerable > > ) ( x => x . Set ) ) ;
530
- target = new ListEntity ( ) ;
531
-
532
- sut = new List < ListEntity , string > ( property , new [ ] { "foo" , "bar" , "baz" } ) ;
533
-
534
- target . Set . AddAll ( new [ ] { "foo" , "bar" , "baz" } ) ;
535
- }
536
-
537
- public override void because ( )
538
- {
539
- sut . CheckValue ( target ) ;
540
- }
541
-
542
- [ Test ]
543
- public void should_succeed ( )
544
- {
545
- thrown_exception . ShouldBeNull ( ) ;
546
- }
547
- }
548
-
549
481
[ TestFixture ]
550
482
public class When_the_collection_is_equal_to_the_expected_list : With_initialized_list
551
483
{
0 commit comments