public function testIsValid_FieldBetween_minNotSpecified()
{
// mock of document
$document = $this->getMock('\\Sokil\\Mongo\\Document', array('rules'), array($this->collection));
$document->expects($this->any())->method('rules')->will($this->returnValue(array(array('some-field-name', 'between', 'max' => 6))));
// required field empty
$document->set('some-field-name', '45');
$document->isValid();
}