test_class.declarator: producer
test_class.modifier: @Inject
      private
test_class.original_string: @Inject
      private GraphTemplateProducer producer;
test_class.type: GraphTemplateProducer
test_class.var_name: producer
test_class.file: artemis-graph/src/test/java/org/jnosql/artemis/graph/DefaultGraphTemplateProducerTest.java
test_class.identifier: DefaultGraphTemplateProducerTest
test_case.body: @Test
      public void shouldReturnGraphTemplateWhenGetGraphTraversalSourceSupplier() {
          GraphTraversalSourceSupplier supplier = Mockito.mock(GraphTraversalSourceSupplier.class);
          GraphTemplate template = producer.get(supplier);
          assertNotNull(template);
      }
test_case.class_method_signature: DefaultGraphTemplateProducerTest.shouldReturnGraphTemplateWhenGetGraphTraversalSourceSupplier()
test_case.full_signature: @Test public void shouldReturnGraphTemplateWhenGetGraphTraversalSourceSupplier()
test_case.identifier: shouldReturnGraphTemplateWhenGetGraphTraversalSourceSupplier
test_case.invocations: mock get assertNotNull
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void shouldReturnGraphTemplateWhenGetGraphTraversalSourceSupplier()
focal_class.declarator: classMappings
focal_class.modifier: @Inject
      private
focal_class.original_string: @Inject
      private ClassMappings classMappings;
focal_class.type: ClassMappings
focal_class.var_name: classMappings
focal_class.declarator: converters
focal_class.modifier: @Inject
      private
focal_class.original_string: @Inject
      private Converters converters;
focal_class.type: Converters
focal_class.var_name: converters
focal_class.declarator: persistManager
focal_class.modifier: @Inject
      private
focal_class.original_string: @Inject
      private GraphEventPersistManager persistManager;
focal_class.type: GraphEventPersistManager
focal_class.var_name: persistManager
focal_class.file: artemis-graph/src/main/java/org/jnosql/artemis/graph/DefaultGraphTemplateProducer.java
focal_class.identifier: DefaultGraphTemplateProducer
focal_class.interfaces: implements GraphTemplateProducer
focal_class.class_method_signature: DefaultGraphTemplateProducer.get(Graph graph)
focal_class.full_signature: @Override public GraphTemplate get(Graph graph)
focal_class.identifier: get
focal_class.modifiers: @Override public
focal_class.parameters: (Graph graph)
focal_class.return: GraphTemplate
focal_class.signature: GraphTemplate get(Graph graph)
focal_class.class_method_signature: DefaultGraphTemplateProducer.get(GraphTraversalSourceSupplier supplier)
focal_class.full_signature: @Override public GraphTemplate get(GraphTraversalSourceSupplier supplier)
focal_class.identifier: get
focal_class.modifiers: @Override public
focal_class.parameters: (GraphTraversalSourceSupplier supplier)
focal_class.return: GraphTemplate
focal_class.signature: GraphTemplate get(GraphTraversalSourceSupplier supplier)
focal_method.body: @Override
      public GraphTemplate get(Graph graph) {
          requireNonNull(graph, "graph is required");
  
          SingleInstance<Graph> instance = new SingleInstance<>(graph);
  
          GraphConverter converter = new DefaultGraphConverter(classMappings,
                  converters,
                  instance);
          GraphWorkflow workflow = new DefaultGraphWorkflow(persistManager, converter);
          return new DefaultGraphTemplate(instance, classMappings, converter, workflow);
      }
focal_method.class_method_signature: DefaultGraphTemplateProducer.get(Graph graph)
focal_method.full_signature: @Override public GraphTemplate get(Graph graph)
focal_method.identifier: get
focal_method.invocations: requireNonNull
focal_method.modifiers: @Override public
focal_method.parameters: (Graph graph)
focal_method.return: GraphTemplate
focal_method.signature: GraphTemplate get(Graph graph)