public function testValidatesEmailIsNotEmpty()
{
$post = MockPostForValidates::create(array('title' => 'new post', 'email' => 'something'));
$result = $post->validates();
$this->assertFalse($result);
$result = $post->errors();
$this->assertNotEmpty($result);
$expected = array('email' => array('email is not valid'));
$result = $post->errors();
$this->assertEqual($expected, $result);
}