@Then("the graph should return {int} for count of {string}")
    public void theGraphShouldReturnForCountOf(final Integer count, final String rawGremlin) {
        assertThatNoErrorWasThrown();

        final String gremlin = world.useParametersLiterally() ? applyParameters(rawGremlin) : rawGremlin;
        assertEquals(count.longValue(), ((GraphTraversal) parseGremlin(gremlin)).count().next());
    }
Some implementations of {@link VertexProperty} are not {@code Serializable} and may lead to test failures when passed as
parameters. One such instance is {@code HadoopVertexProperty}. This method detaches vertex properties as tests
should never require implementation-specific elements.
gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/features/StepDefinition.java