public function testWhereNotIn()
{
$document = $this->collection->createDocument(array('param' => 'value'));
$document->save();
$documentId = $document->getId();
// find all rows
$document = $this->collection->find()->whereNotIn('param', array('value1', 'value2', 'value3'))->findOne();
$this->assertNotEmpty($document);
$this->assertEquals($documentId, $document->getId());
}