MCPcopy
hub / github.com/orhanobut/logger / equals

Method equals

logger/src/test/java/com.orhanobut.logger/UtilsTest.java:23–28  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

21 }
22
23 @Test public void equals() {
24 assertThat(Utils.equals("a", "a")).isTrue();
25 assertThat(Utils.equals("as", "b")).isFalse();
26 assertThat(Utils.equals(null, "b")).isFalse();
27 assertThat(Utils.equals("a", null)).isFalse();
28 }
29
30 @Test public void getStackTraceString() {
31 Throwable throwable = new Throwable("test");

Callers

nothing calls this directly

Calls 1

equalsMethod · 0.95

Tested by

no test coverage detected