groovy

1 == new Object() throws ClassCastException