public function testTypicalGraphBuild()
 {
     $builder = new GraphBuilder(new MockedSimpleDictionary());
     $graph = $builder->build(new DifferenceSingleLetter());
     $this->assertInstanceOf('WordTransformer\\Graph\\Graph', $graph);
     $this->assertEquals(['год' => ['гид'], 'гид' => ['год', 'вид'], 'вид' => ['гид']], $graph->getNodes());
 }
 /**
  * @return Graph\Graph
  */
 private function buildGraph()
 {
     $builder = new Graph\GraphBuilder($this->dictionary);
     return $builder->build(new DifferenceSingleLetter());
 }