  @Test
  public void pattern3() {

    Pattern3<Object, Object, Object, Object> pattern3 = Pattern3.build()
      .when((a, b, c) -> a.equals(b) && b.equals(c) && a.equals(c)).returns("a equals b equals c")
      .otherwise().returns("not equals");

    assertAll(() -> assertEquals("a equals b equals c", pattern3.apply("a", "a", "a")),
              () -> assertEquals("not equals", pattern3.apply("a", 12L, 2.2)));
  }