public function testValidatesCustomEventsValid()
{
$post = MockPostForValidates::create(array('title' => 'new post', 'email' => '[email protected]'));
$events = array('customEvent', 'anotherCustomEvent');
$result = $post->validates(compact('events'));
$this->assertTrue($result);
$result = $post->errors();
$this->assertEmpty($result);
}