public function testExtract()
 {
     $job = JobEntityProvider::createEntityWithRandomData(array('createOrganization' => array('createOrganizationName' => true)));
     $expected = ['description-label-requirements' => $job->getOrganization()->getTemplate()->getLabelRequirements(), 'description-label-qualifications' => $job->getOrganization()->getTemplate()->getLabelQualifications(), 'description-label-benefits' => $job->getOrganization()->getTemplate()->getLabelBenefits()];
     $result = $this->testedObject->extract($job);
     $this->assertSame($expected, $result);
 }
 public function testExtract()
 {
     $job = JobEntityProvider::createEntityWithRandomData(array('createOrganization' => array('createOrganizationName' => true)));
     $expected = array('companyId' => $job->getOrganization()->getId());
     $result = $this->testedObject->extract($job);
     $this->assertSame($expected, $result);
 }