@@ -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
{
@@ -498,56 +480,6 @@ public void should_fail_with_the_exception_from_the_equality_comparer()
498
480
}
499
481
}
500
482
501
- [ TestFixture ]
502
- public class When_the_checked_typed_set_is_equal_to_the_expected_list : With_initialized_list
503
- {
504
- public override void establish_context ( )
505
- {
506
- property = ReflectionHelper . GetAccessor ( ( Expression < Func < ListEntity , IEnumerable < string > > > ) ( x => x . TypedSet ) ) ;
507
- target = new ListEntity ( ) ;
508
-
509
- sut = new List < ListEntity , string > ( property , new [ ] { "foo" , "bar" , "baz" } ) ;
510
-
511
- target . TypedSet . AddAll ( new [ ] { "foo" , "bar" , "baz" } ) ;
512
- }
513
-
514
- public override void because ( )
515
- {
516
- sut . CheckValue ( target ) ;
517
- }
518
-
519
- [ Test ]
520
- public void should_succeed ( )
521
- {
522
- thrown_exception . ShouldBeNull ( ) ;
523
- }
524
- }
525
-
526
- [ TestFixture ]
527
- public class When_the_checked_set_is_equal_to_the_expected_list : With_initialized_list
528
- {
529
- public override void establish_context ( )
530
- {
531
- property = ReflectionHelper . GetAccessor ( ( Expression < Func < ListEntity , IEnumerable > > ) ( x => x . Set ) ) ;
532
- target = new ListEntity ( ) ;
533
-
534
- sut = new List < ListEntity , string > ( property , new [ ] { "foo" , "bar" , "baz" } ) ;
535
-
536
- target . Set . AddAll ( new [ ] { "foo" , "bar" , "baz" } ) ;
537
- }
538
-
539
- public override void because ( )
540
- {
541
- sut . CheckValue ( target ) ;
542
- }
543
-
544
- [ Test ]
545
- public void should_succeed ( )
546
- {
547
- thrown_exception . ShouldBeNull ( ) ;
548
- }
549
- }
550
-
551
483
[ TestFixture ]
552
484
public class When_the_collection_is_equal_to_the_expected_list : With_initialized_list
553
485
{
0 commit comments