mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-21 07:49:14 +00:00
Stop mocking class that is final in latest Framework 5.1 snapshots
This commit is contained in:
+1
-1
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user