@@ -19,7 +19,7 @@ public void Should_succeed_when_asserting_interfaces_can_be_resolved_with_a_sing
19
19
. EndingWith ( "Service" ) ;
20
20
21
21
// Act
22
- Action act = ( ) => kernel . Should ( ) . ResolveInterfaces ( interfaces ) . WithSingleInstance ( ) ;
22
+ Action act = ( ) => kernel . Should ( ) . Resolve ( interfaces ) . WithSingleInstance ( ) ;
23
23
24
24
// Assert
25
25
act . ShouldNotThrow < AssertionException > ( ) ;
@@ -34,7 +34,7 @@ public void Should_fail_when_asserting_interfaces_can_be_resolved_with_a_single_
34
34
. EndingWith ( "Factory" ) ;
35
35
36
36
// Act
37
- Action act = ( ) => kernel . Should ( ) . ResolveInterfaces ( interfaces ) . WithSingleInstance ( ) ;
37
+ Action act = ( ) => kernel . Should ( ) . Resolve ( interfaces ) . WithSingleInstance ( ) ;
38
38
39
39
// Assert
40
40
act . ShouldThrow < AssertionException > ( ) ;
@@ -47,7 +47,7 @@ public void Should_succeed_when_asserting_an_interface_can_be_resolved_with_a_si
47
47
var kernel = GetKernel ( ) ;
48
48
49
49
// Act
50
- Action act = ( ) => kernel . Should ( ) . ResolveInterface < ISampleService > ( ) . WithSingleInstance ( ) ;
50
+ Action act = ( ) => kernel . Should ( ) . Resolve < ISampleService > ( ) . WithSingleInstance ( ) ;
51
51
52
52
// Assert
53
53
act . ShouldNotThrow < AssertionException > ( ) ;
@@ -60,7 +60,7 @@ public void Should_fail_when_asserting_an_interface_can_be_resolved_with_a_singl
60
60
var kernel = GetKernel ( ) ;
61
61
62
62
// Act
63
- Action act = ( ) => kernel . Should ( ) . ResolveInterface < ISomeFactory > ( ) . WithSingleInstance ( ) ;
63
+ Action act = ( ) => kernel . Should ( ) . Resolve < ISomeFactory > ( ) . WithSingleInstance ( ) ;
64
64
65
65
// Assert
66
66
act . ShouldThrow < AssertionException > ( ) ;
@@ -75,7 +75,7 @@ public void Should_succeed_when_asserting_interfaces_can_be_resolved_with_at_lea
75
75
. EndingWith ( "Provider" ) ;
76
76
77
77
// Act
78
- Action act = ( ) => kernel . Should ( ) . ResolveInterfaces ( interfaces ) . WithAtLeastOneInstance ( ) ;
78
+ Action act = ( ) => kernel . Should ( ) . Resolve ( interfaces ) . WithAtLeastOneInstance ( ) ;
79
79
80
80
// Assert
81
81
act . ShouldNotThrow < AssertionException > ( ) ;
@@ -90,7 +90,7 @@ public void Should_fail_when_asserting_interfaces_can_be_resolved_with_at_least_
90
90
. EndingWith ( "Factory" ) ;
91
91
92
92
// Act
93
- Action act = ( ) => kernel . Should ( ) . ResolveInterfaces ( interfaces ) . WithAtLeastOneInstance ( ) ;
93
+ Action act = ( ) => kernel . Should ( ) . Resolve ( interfaces ) . WithAtLeastOneInstance ( ) ;
94
94
95
95
// Assert
96
96
act . ShouldThrow < AssertionException > ( ) ;
@@ -104,7 +104,7 @@ public void Should_succeed_when_asserting_interfaces_can_be_resolved_when_implem
104
104
var interfaces = new [ ] { typeof ( IFooService ) } ;
105
105
106
106
// Act
107
- Action act = ( ) => kernel . Should ( ) . ResolveInterfaces ( interfaces ) . WithSingleInstance ( ) ;
107
+ Action act = ( ) => kernel . Should ( ) . Resolve ( interfaces ) . WithSingleInstance ( ) ;
108
108
109
109
// Assert
110
110
act . ShouldNotThrow < AssertionException > ( ) ;
@@ -120,7 +120,7 @@ public void Should_fail_when_asserting_interfaces_can_be_resolved_when_implement
120
120
kernel . Unbind < ISampleRepository > ( ) ;
121
121
122
122
// Act
123
- Action act = ( ) => kernel . Should ( ) . ResolveInterfaces ( interfaces ) . WithSingleInstance ( ) ;
123
+ Action act = ( ) => kernel . Should ( ) . Resolve ( interfaces ) . WithSingleInstance ( ) ;
124
124
125
125
// Assert
126
126
act . ShouldThrow < AssertionException > ( ) ;
0 commit comments