/** * Testing the setUnitOfWork method and getLastJob. * * @since 1.0 */ public function testSetUnitOfWorkLast() { $this->controller->setName('Alpha\\Controller\\ImageController'); $this->controller->setUnitOfWork(array('Alpha\\Controller\\ImageController', 'Alpha\\Controller\\LogController')); $this->assertEquals('Alpha\\Controller\\LogController', $this->controller->getLastJob(), 'Testing the setUnitOfWork method and getLastJob'); }