@@ -23,7 +23,7 @@ public void Should_succeed_when_asserting_interfaces_can_be_resolved_with_a_sing
23
23
Action act = ( ) => kernel . Should ( ) . Resolve ( interfaces ) . WithSingleInstance ( ) ;
24
24
25
25
// Assert
26
- act . ShouldNotThrow < AssertionException > ( ) ;
26
+ act . ShouldNotThrow ( ) ;
27
27
}
28
28
29
29
[ Test ]
@@ -51,7 +51,7 @@ public void Should_succeed_when_asserting_an_interface_can_be_resolved_with_a_si
51
51
Action act = ( ) => kernel . Should ( ) . Resolve < ISampleService > ( ) . WithSingleInstance ( ) ;
52
52
53
53
// Assert
54
- act . ShouldNotThrow < AssertionException > ( ) ;
54
+ act . ShouldNotThrow ( ) ;
55
55
}
56
56
57
57
[ Test ]
@@ -77,7 +77,7 @@ public void Should_succeed_when_asserting_interface_can_be_resolved_with_at_leas
77
77
Action act = ( ) => kernel . Should ( ) . Resolve < ISomeProvider > ( ) . WithAtLeastOneInstance ( ) ;
78
78
79
79
// Assert
80
- act . ShouldNotThrow < AssertionException > ( ) ;
80
+ act . ShouldNotThrow ( ) ;
81
81
}
82
82
83
83
[ Test ]
@@ -105,7 +105,7 @@ public void Should_succeed_when_asserting_interfaces_can_be_resolved_with_at_lea
105
105
Action act = ( ) => kernel . Should ( ) . Resolve ( interfaces ) . WithAtLeastOneInstance ( ) ;
106
106
107
107
// Assert
108
- act . ShouldNotThrow < AssertionException > ( ) ;
108
+ act . ShouldNotThrow ( ) ;
109
109
}
110
110
111
111
[ Test ]
@@ -134,7 +134,7 @@ public void Should_succeed_when_asserting_interfaces_can_be_resolved_when_implem
134
134
Action act = ( ) => kernel . Should ( ) . Resolve ( interfaces ) . WithSingleInstance ( ) ;
135
135
136
136
// Assert
137
- act . ShouldNotThrow < AssertionException > ( ) ;
137
+ act . ShouldNotThrow ( ) ;
138
138
}
139
139
140
140
[ Test ]
@@ -163,7 +163,7 @@ public void Should_succeed_when_asserting_an_interface_resolves_to_concrete_impl
163
163
Action act = ( ) => kernel . Should ( ) . Resolve < IFooService > ( ) . To < FooService > ( ) ;
164
164
165
165
// Assert
166
- act . ShouldNotThrow < Exception > ( ) ;
166
+ act . ShouldNotThrow ( ) ;
167
167
}
168
168
169
169
[ Test ]
0 commit comments