@Test
    public final void objectStuff() {
        boolean hashException = false;
        boolean equalsException = false;
        assertEquals("Tuple2(11, 12)", instance.toString());
        try {
            instance.hashCode();
        } catch (UnsupportedOperationException e) {
            hashException = true;
        }
        assertTrue(hashException);
        try {
            instance.equals(null);
        } catch (UnsupportedOperationException e) {
            equalsException = true;
        }
        assertTrue(equalsException);
    }
Test case used for testing and experimenting with the tuple APIs. It seems
Tuple4 is just as horrible as I first assumed, but using quick-fix funtions
in the IDE made writing the code less painful than I guessed..

@author <a href="mailto:steinar@yahoo-inc.com">Steinar Knutsen</a>
vespajlib/src/test/java/com/yahoo/collections/TupleTestCase.java