@Test
public void testCheckNotNullShouldNotThrowNullPointerExceptionAndReturnObjectIfObjectIsNull() {

    // Given:
    Object object = new Object();
    // When:
    Object result = Preconditions.checkNotNull(object, "error message");
    // Then:
    assertThat(result).isSameAs(object);
}