Skip to content

Commit

Permalink
inline prefs in setup method
Browse files Browse the repository at this point in the history
  • Loading branch information
Siedlerchr committed Jul 18, 2018
1 parent 39e8b33 commit ca429f3
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,10 @@
public class LibraryOfCongressTest {

private LibraryOfCongress fetcher;
ImportFormatPreferences prefs;

@BeforeEach
public void setUp() {
prefs = mock(ImportFormatPreferences.class);
ImportFormatPreferences prefs = mock(ImportFormatPreferences.class);
when(prefs.getKeywordSeparator()).thenReturn(',');
fetcher = new LibraryOfCongress(prefs);
}
Expand Down

0 comments on commit ca429f3

Please sign in to comment.