@Test
public void testTeeLogError() {

    final Result<String> success = Result.success("success");
    final Result<String> failure = Result.failure("failure");
    assertSame("success tees itself", success, success.teeLogError());
    assertSame("failure tees itself", failure, failure.teeLogError());
}