Skip to content

Commit

Permalink
Drop call of deprecated method
Browse files Browse the repository at this point in the history
  • Loading branch information
pzygielo committed Apr 19, 2022
1 parent 9f33179 commit df0942d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public void verifyInjection() {
MockCreationSettings settings = MockUtil.getMockHandler(collaborator).getMockSettings();

assertThat(settings.getMockName().toString()).isEqualTo("customName");
assertThat(settings.getDefaultAnswer()).isEqualTo(Answers.RETURNS_MOCKS.get());
assertThat(settings.getDefaultAnswer()).isEqualTo(Answers.RETURNS_MOCKS);
assertThat(settings.getExtraInterfaces()).containsOnly(Closeable.class);
}

Expand Down

0 comments on commit df0942d

Please sign in to comment.