@Test
    public void shouldApplyValueOnVertexProperty() {
        final VertexProperty e = mock(VertexProperty.class);
        when(e.value()).thenReturn("val");

        assertEquals("val", T.value.apply(e));
    }
@author Stephen Mallette (http://stephen.genoprime.com)
gremlin-core/src/test/java/org/apache/tinkerpop/gremlin/structure/TTest.java