Пример #1
0
	public function testOverrideSetsDataRulesAndMessages()
	{
		$this->validator->shouldReceive('setData')->once()
						->shouldReceive('setRules')->once()
						->shouldReceive('setCustomMessages')->once();
		$this->validator->override(array(), array());
	}