Source

						public function testSaveWithFailedValidation() {
		$data = array('title' => '', 'author_id' => 13);
		$record = MockPost::create($data);
		$result = $record->save(null, array('validate' => array(
			'title' => 'A title must be present'
		)));

		$this->assertIdentical(false, $result);
	}