@Test
        @FeatureRequirementSet(FeatureRequirementSet.Package.VERTICES_ONLY)
        @FeatureRequirement(featureClass = Graph.Features.VertexPropertyFeatures.class, feature = Graph.Features.VertexPropertyFeatures.FEATURE_NULL_PROPERTY_VALUES, supported = false)
        @FeatureRequirement(featureClass = Graph.Features.VertexFeatures.class, feature = Graph.Features.VertexFeatures.FEATURE_META_PROPERTIES)
        public void shouldNotAllowNullAddVertexProperty() throws Exception {
            final Vertex v = this.graph.addVertex("person");
            final VertexProperty vp = v.property("location", "santa fe", "startTime", 1995, "endTime", null);
            assertEquals(1995, (int) vp.value("startTime"));
            assertThat(vp.properties("endTime").hasNext(), is(false));
        }
Basic tests for the {@link Property} class.
gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/structure/PropertyTest.java