Bumping versions
This commit is contained in:
@@ -91,4 +91,5 @@ class RetryAwareServiceInstanceListSupplierTests {
|
||||
supplier.selectedServiceInstance(firstInstance);
|
||||
verify(delegate, times(1)).selectedServiceInstance(any(ServiceInstance.class));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -86,7 +86,8 @@ class SameInstancePreferenceServiceInstanceListSupplierTests {
|
||||
void shouldCallSelectedServiceInstanceOnItsDelegate() {
|
||||
ServiceInstance firstInstance = serviceInstance("test-4");
|
||||
TestSelectedServiceInstanceSupplier delegate = mock(TestSelectedServiceInstanceSupplier.class);
|
||||
DelegatingServiceInstanceListSupplier supplier = new SameInstancePreferenceServiceInstanceListSupplier(delegate);
|
||||
DelegatingServiceInstanceListSupplier supplier = new SameInstancePreferenceServiceInstanceListSupplier(
|
||||
delegate);
|
||||
supplier.selectedServiceInstance(firstInstance);
|
||||
verify(delegate, times(1)).selectedServiceInstance(any(ServiceInstance.class));
|
||||
}
|
||||
|
||||
@@ -17,10 +17,12 @@
|
||||
package org.springframework.cloud.loadbalancer.core;
|
||||
|
||||
/**
|
||||
* Test supplier interface extending {@link ServiceInstanceListSupplier} and {@link SelectedInstanceCallback}.
|
||||
* Useful if you need to verify certain behavior happened on a mock for example.
|
||||
* Test supplier interface extending {@link ServiceInstanceListSupplier} and
|
||||
* {@link SelectedInstanceCallback}. Useful if you need to verify certain behavior
|
||||
* happened on a mock for example.
|
||||
*
|
||||
* @author Jürgen Kreitler
|
||||
*/
|
||||
public interface TestSelectedServiceInstanceSupplier extends ServiceInstanceListSupplier, SelectedInstanceCallback {
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user