Skip to content

Commit

Permalink
remove unused nullability test in LogUtilsTest
Browse files Browse the repository at this point in the history
  • Loading branch information
stetro authored and yayaa committed May 19, 2020
1 parent 79b0f73 commit 1cd96e2
Showing 1 changed file with 0 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,14 +66,4 @@ public void whenChangingLoggerItShouldLogIntoIt() {
verify(newLogger, times(1)).logD(anyString(), eq("Dmessage"));
verify(mockLogger, times(0)).logD(anyString(), anyString());
}

@Test
public void whenLoggerIsNullDoNothing() {
LogUtils.enable(true);

LogUtils.setLogger(null);
LogUtils.logD("Dmessage");

verify(mockLogger, times(1)).logD(anyString(), eq("Dmessage"));
}
}

0 comments on commit 1cd96e2

Please sign in to comment.