@@ -0,0 +1,2280 @@
+package com.tinkerpop.blueprints.util;%0A%0Aimport com.tinkerpop.blueprints.Property;%0Aimport org.junit.Test;%0A%0Aimport static junit.framework.Assert.fail;%0Aimport static org.junit.Assert.assertEquals;%0A%0A/**%0A * @author Stephen Mallette (http://stephen.genoprime.com)%0A */%0Apublic class ElementHelperTest %7B%0A%0A    @Test%0A    public void shouldValidatePropertyAndNotAllowNullValue() %7B%0A        try %7B%0A            ElementHelper.validateProperty(%22test%22, null);%0A            fail(%22Should fail as property value cannot be null%22);%0A        %7D catch (IllegalArgumentException iae) %7B%0A            assertEquals(Property.Exceptions.propertyValueCanNotBeNull().getMessage(), iae.getMessage());%0A        %7D%0A    %7D%0A%0A    @Test%0A    public void shouldValidatePropertyAndNotAllowNullKey() %7B%0A        try %7B%0A            ElementHelper.validateProperty(null, %22test%22);%0A            fail(%22Should fail as property key cannot be null%22);%0A        %7D catch (IllegalArgumentException iae) %7B%0A            assertEquals(Property.Exceptions.propertyKeyCanNotBeNull().getMessage(), iae.getMessage());%0A        %7D%0A    %7D%0A%0A    @Test%0A    public void shouldValidatePropertyAndNotAllowEmptyKey() %7B%0A        try %7B%0A            ElementHelper.validateProperty(%22%22, %22test%22);%0A            fail(%22Should fail as property key cannot be empty%22);%0A        %7D catch (IllegalArgumentException iae) %7B%0A            assertEquals(Property.Exceptions.propertyKeyCanNotBeEmpty().getMessage(), iae.getMessage());%0A        %7D%0A    %7D%0A%0A    @Test%0A    public void shouldValidatePropertyAndNotAllowIdKey() %7B%0A        try %7B%0A            ElementHelper.validateProperty(Property.Key.ID, %22test%22);%0A            fail(String.format(%22Should fail as property key %25s is reserved%22, Property.Key.ID));%0A        %7D catch (IllegalArgumentException iae) %7B%0A            assertEquals(Property.Exceptions.propertyKeyIdIsReserved().getMessage(), iae.getMessage());%0A        %7D%0A    %7D%0A%0A    @Test%0A    public void shouldValidatePropertyAndAllowLabelKey() %7B%0A        try %7B%0A            ElementHelper.validateProperty(Property.Key.LABEL, %22test%22);%0A            fail(String.format(%22Should fail as property key %25s is reserved%22, Property.Key.LABEL));%0A        %7D catch (IllegalArgumentException iae) %7B%0A            assertEquals(Property.Exceptions.propertyKeyLabelIsReserved().getMessage(), iae.getMessage());%0A        %7D%0A    %7D%0A%7D%0A

Add test for ElementHelper.