public function test必須チェック()
{
$this->FeedDetail->create(array('FeedDetail' => array()));
$this->assertFalse($this->FeedDetail->validates());
$this->assertArrayHasKey('name', $this->FeedDetail->validationErrors);
$this->assertEquals('フィード詳細名を入力してください。', current($this->FeedDetail->validationErrors['name']));
$this->assertArrayHasKey('url', $this->FeedDetail->validationErrors);
$this->assertEquals('フィードURLを入力してください。', current($this->FeedDetail->validationErrors['url']));
}