class Objects {

	static boolean equals(final Object a, final Object b) {
		return (a == null) ? (b == null) : a.equals(b);
	}

}

class ObjectsTest {

  @Test public void equals_differentBooleanParams_returnFalse() {

    // Given
    final boolean paramA = true;
    final boolean paramB = false;

    // When
    final boolean result = Objects.equals(paramA, paramB);

    // Then
    assertThat(result, is(false));
  }

}