Browse Source

Stop mocking class that is final in latest Framework 5.1 snapshots

pull/13583/merge
Andy Wilkinson 8 years ago
parent
commit
b4cd4f4c43
  1. 2
      spring-boot-project/spring-boot-test/src/test/java/org/springframework/boot/test/web/client/RootUriRequestExpectationManagerTests.java

2
spring-boot-project/spring-boot-test/src/test/java/org/springframework/boot/test/web/client/RootUriRequestExpectationManagerTests.java

@ -86,7 +86,7 @@ public class RootUriRequestExpectationManagerTests { @@ -86,7 +86,7 @@ public class RootUriRequestExpectationManagerTests {
@Test
public void expectRequestShouldDelegateToExpectationManager() {
ExpectedCount count = mock(ExpectedCount.class);
ExpectedCount count = ExpectedCount.once();
RequestMatcher requestMatcher = mock(RequestMatcher.class);
this.manager.expectRequest(count, requestMatcher);
verify(this.delegate).expectRequest(count, requestMatcher);

Loading…
Cancel
Save