lithium\test\MockerChain::success()

public method

Gives back the success flag

Returns

bool

Source

	public function success() {
		$success = $this->_data['success'];
		$this->_data = [
			'results' => $this->_data['results'],
			'method' => false,
			'args' => false,
			'success' => true,
			'callTime' => 0,
		];
		return $success;
	}