public function testGetAdmin()
 {
     $adminMock = $this->getMock('Sonata\\AdminBundle\\Admin\\AdminInterface');
     $field = new FieldDescription();
     $field->setAdmin($adminMock);
     $this->assertSame($adminMock, $field->getAdmin());
 }