@Test
        public void shouldTest() {
            if (expected instanceof Class)
                exceptionRule.expect((Class) expected);

            assertEquals(expected, new OrP(Arrays.asList(first,second)).test(VAL));
        }
@author Mike Personick (http://github.com/mikepersonick)
gremlin-core/src/test/java/org/apache/tinkerpop/gremlin/process/traversal/ConnectiveTest.java