public function testConvertItem()
 {
     $fullName = 'Mr. John Doe';
     $entity = new \stdClass();
     $entity->name = 'John';
     $entity->email = '*****@*****.**';
     $this->entityNameResolver->expects($this->once())->method('getName')->with($entity)->will($this->returnValue($fullName));
     $this->searchHandler->setEntityNameResolver($this->entityNameResolver);
     $this->assertEquals(array('name' => 'John', 'email' => '*****@*****.**', 'fullName' => $fullName), $this->searchHandler->convertItem($entity));
 }