discoveryQuery() public method

public discoveryQuery ( GraphAware\Common\Type\Node $input, GraphAware\Reco4PHP\Context\Context $context ) : GraphAware\Common\Cypher\StatementInterface
$input GraphAware\Common\Type\Node
$context GraphAware\Reco4PHP\Context\Context
return GraphAware\Common\Cypher\StatementInterface
 public function testParametersBuilding()
 {
     $engine = new TestDiscoveryEngine();
     $input = FakeNode::createDummy();
     $this->assertEquals($input->identity(), $engine->discoveryQuery($input, new SimpleContext())->parameters()['inputId']);
     $this->assertCount(1, $engine->discoveryQuery($input, new SimpleContext())->parameters());
 }