public function testResetErrors()
{
$entity = new Entity();
$errors = array('foo' => 'Something bad happened.', 'bar' => 'Something really bad happened.');
$entity->errors($errors);
$this->assertEqual($errors, $entity->errors());
$entity->errors(false);
$this->assertEmpty($entity->errors());
}