/** * @expectedException EntityActions\Exception\NotAnEntityException */ public function testGetThrowsExceptionForObjectNotBeingAnEntity() { EntityActionManager::registry('TestApp\\EntityAction\\TestEntityActionRegistry'); EntityActionManager::get(new \stdClass()); }
public static function setUpBeforeClass() { parent::setUpBeforeClass(); EntityActionManager::registry('TestApp\\EntityAction\\TestEntityActionRegistry'); }