test_class.declarator: name
test_class.modifier: @Parameterized.Parameter(value = 0)
      public
test_class.original_string: @Parameterized.Parameter(value = 0)
      public String name;
test_class.type: String
test_class.var_name: name
test_class.declarator: traversal
test_class.modifier: @Parameterized.Parameter(value = 1)
      public
test_class.original_string: @Parameterized.Parameter(value = 1)
      public Traversal traversal;
test_class.type: Traversal
test_class.var_name: traversal
test_class.declarator: allow
test_class.modifier: @Parameterized.Parameter(value = 2)
      public
test_class.original_string: @Parameterized.Parameter(value = 2)
      public boolean allow;
test_class.type: boolean
test_class.var_name: allow
test_class.file: gremlin-core/src/test/java/org/apache/tinkerpop/gremlin/process/traversal/strategy/verification/LambdaRestrictionStrategyTest.java
test_class.identifier: LambdaRestrictionStrategyTest
test_case.body: @Test
      public void shouldBeVerifiedIllegal() {
          final TraversalStrategies strategies = new DefaultTraversalStrategies();
          strategies.addStrategies(LambdaRestrictionStrategy.instance());
          traversal.asAdmin().setStrategies(strategies);
          if (allow) {
              traversal.asAdmin().applyStrategies();
          } else {
              try {
                  traversal.asAdmin().applyStrategies();
                  fail("The strategy should not allow lambdas: " + this.traversal);
              } catch (VerificationException ise) {
                  assertTrue(ise.getMessage().contains("lambda"));
              }
          }
      }
test_case.class_method_signature: LambdaRestrictionStrategyTest.shouldBeVerifiedIllegal()
test_case.full_signature: @Test public void shouldBeVerifiedIllegal()
test_case.identifier: shouldBeVerifiedIllegal
test_case.invocations: addStrategies instance setStrategies asAdmin applyStrategies asAdmin applyStrategies asAdmin fail assertTrue contains getMessage
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void shouldBeVerifiedIllegal()
focal_class.declarator: INSTANCE = new LambdaRestrictionStrategy()
focal_class.modifier: private static final
focal_class.original_string: private static final LambdaRestrictionStrategy INSTANCE = new LambdaRestrictionStrategy();
focal_class.type: LambdaRestrictionStrategy
focal_class.var_name: INSTANCE
focal_class.file: gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/strategy/verification/LambdaRestrictionStrategy.java
focal_class.identifier: LambdaRestrictionStrategy
focal_class.interfaces: implements TraversalStrategy.VerificationStrategy
focal_class.class_method_signature: LambdaRestrictionStrategy.LambdaRestrictionStrategy()
focal_class.full_signature: private  LambdaRestrictionStrategy()
focal_class.identifier: LambdaRestrictionStrategy
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.signature:  LambdaRestrictionStrategy()
focal_class.class_method_signature: LambdaRestrictionStrategy.apply(final Traversal.Admin<?, ?> traversal)
focal_class.full_signature: @Override public void apply(final Traversal.Admin<?, ?> traversal)
focal_class.identifier: apply
focal_class.modifiers: @Override public
focal_class.parameters: (final Traversal.Admin<?, ?> traversal)
focal_class.return: void
focal_class.signature: void apply(final Traversal.Admin<?, ?> traversal)
focal_class.class_method_signature: LambdaRestrictionStrategy.instance()
focal_class.full_signature: public static LambdaRestrictionStrategy instance()
focal_class.identifier: instance
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: LambdaRestrictionStrategy
focal_class.signature: LambdaRestrictionStrategy instance()
focal_class.superclass: extends AbstractTraversalStrategy<TraversalStrategy.VerificationStrategy>
focal_method.body: public static LambdaRestrictionStrategy instance() {
          return INSTANCE;
      }
focal_method.class_method_signature: LambdaRestrictionStrategy.instance()
focal_method.full_signature: public static LambdaRestrictionStrategy instance()
focal_method.identifier: instance
focal_method.modifiers: public static
focal_method.parameters: ()
focal_method.return: LambdaRestrictionStrategy
focal_method.signature: LambdaRestrictionStrategy instance()