public function setUp() { $this->platform = $this->getMockForAbstractClass('\\Doctrine\\DBAL\\Platforms\\AbstractPlatform'); $this->type = Type::getType('statusarray'); }