public function testIsValid_UnexistedValidator()
{
// mock of document
$document = $this->getMock('\\Sokil\\Mongo\\Document', array('rules', 'someFailedValidationMethod'), array($this->collection));
$document->expects($this->any())->method('rules')->will($this->returnValue(array(array('some-field-name', 'SomeUnexistedValidator'))));
$document->isValid();
}