@@ -19,7 +19,7 @@ public void Should_succeed_when_asserting_interfaces_can_be_resolved_with_a_sing
1919 . EndingWith ( "Service" ) ;
2020
2121 // Act
22- Action act = ( ) => kernel . Should ( ) . ResolveInterfaces ( interfaces ) . WithSingleInstance ( ) ;
22+ Action act = ( ) => kernel . Should ( ) . Resolve ( interfaces ) . WithSingleInstance ( ) ;
2323
2424 // Assert
2525 act . ShouldNotThrow < AssertionException > ( ) ;
@@ -34,7 +34,7 @@ public void Should_fail_when_asserting_interfaces_can_be_resolved_with_a_single_
3434 . EndingWith ( "Factory" ) ;
3535
3636 // Act
37- Action act = ( ) => kernel . Should ( ) . ResolveInterfaces ( interfaces ) . WithSingleInstance ( ) ;
37+ Action act = ( ) => kernel . Should ( ) . Resolve ( interfaces ) . WithSingleInstance ( ) ;
3838
3939 // Assert
4040 act . ShouldThrow < AssertionException > ( ) ;
@@ -47,7 +47,7 @@ public void Should_succeed_when_asserting_an_interface_can_be_resolved_with_a_si
4747 var kernel = GetKernel ( ) ;
4848
4949 // Act
50- Action act = ( ) => kernel . Should ( ) . ResolveInterface < ISampleService > ( ) . WithSingleInstance ( ) ;
50+ Action act = ( ) => kernel . Should ( ) . Resolve < ISampleService > ( ) . WithSingleInstance ( ) ;
5151
5252 // Assert
5353 act . ShouldNotThrow < AssertionException > ( ) ;
@@ -60,7 +60,7 @@ public void Should_fail_when_asserting_an_interface_can_be_resolved_with_a_singl
6060 var kernel = GetKernel ( ) ;
6161
6262 // Act
63- Action act = ( ) => kernel . Should ( ) . ResolveInterface < ISomeFactory > ( ) . WithSingleInstance ( ) ;
63+ Action act = ( ) => kernel . Should ( ) . Resolve < ISomeFactory > ( ) . WithSingleInstance ( ) ;
6464
6565 // Assert
6666 act . ShouldThrow < AssertionException > ( ) ;
@@ -75,7 +75,7 @@ public void Should_succeed_when_asserting_interfaces_can_be_resolved_with_at_lea
7575 . EndingWith ( "Provider" ) ;
7676
7777 // Act
78- Action act = ( ) => kernel . Should ( ) . ResolveInterfaces ( interfaces ) . WithAtLeastOneInstance ( ) ;
78+ Action act = ( ) => kernel . Should ( ) . Resolve ( interfaces ) . WithAtLeastOneInstance ( ) ;
7979
8080 // Assert
8181 act . ShouldNotThrow < AssertionException > ( ) ;
@@ -90,7 +90,7 @@ public void Should_fail_when_asserting_interfaces_can_be_resolved_with_at_least_
9090 . EndingWith ( "Factory" ) ;
9191
9292 // Act
93- Action act = ( ) => kernel . Should ( ) . ResolveInterfaces ( interfaces ) . WithAtLeastOneInstance ( ) ;
93+ Action act = ( ) => kernel . Should ( ) . Resolve ( interfaces ) . WithAtLeastOneInstance ( ) ;
9494
9595 // Assert
9696 act . ShouldThrow < AssertionException > ( ) ;
@@ -104,7 +104,7 @@ public void Should_succeed_when_asserting_interfaces_can_be_resolved_when_implem
104104 var interfaces = new [ ] { typeof ( IFooService ) } ;
105105
106106 // Act
107- Action act = ( ) => kernel . Should ( ) . ResolveInterfaces ( interfaces ) . WithSingleInstance ( ) ;
107+ Action act = ( ) => kernel . Should ( ) . Resolve ( interfaces ) . WithSingleInstance ( ) ;
108108
109109 // Assert
110110 act . ShouldNotThrow < AssertionException > ( ) ;
@@ -120,7 +120,7 @@ public void Should_fail_when_asserting_interfaces_can_be_resolved_when_implement
120120 kernel . Unbind < ISampleRepository > ( ) ;
121121
122122 // Act
123- Action act = ( ) => kernel . Should ( ) . ResolveInterfaces ( interfaces ) . WithSingleInstance ( ) ;
123+ Action act = ( ) => kernel . Should ( ) . Resolve ( interfaces ) . WithSingleInstance ( ) ;
124124
125125 // Assert
126126 act . ShouldThrow < AssertionException > ( ) ;
0 commit comments