public function mockery_allocateOrder() { $this->_allocatedOrder += 1; return $this->_allocatedOrder; }