Skip to content

Commit

Permalink
Stop mocking class that is final in latest Framework 5.1 snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
wilkinsona committed Jun 28, 2018
1 parent cde3c21 commit b4cd4f4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ public void createWhenExpectationManagerIsNullShouldThrowException() {

@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);
Expand Down

0 comments on commit b4cd4f4

Please sign in to comment.