diff --git a/library/src/test/java/com/yayandroid/locationmanager/helper/LogUtilsTest.java b/library/src/test/java/com/yayandroid/locationmanager/helper/LogUtilsTest.java index 974bb59..05fb54a 100644 --- a/library/src/test/java/com/yayandroid/locationmanager/helper/LogUtilsTest.java +++ b/library/src/test/java/com/yayandroid/locationmanager/helper/LogUtilsTest.java @@ -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")); - } }