public function testWhereNor()
{
// create new document
$document = $this->collection->createDocument(array('param' => '1'));
$document->save();
$documentId = $document->getId();
// find
$q = $this->collection->find();
$this->assertEquals($documentId, $q->whereNor($q->expression()->whereGreater('param', 100)->where('some', 'some'), $q->expression()->where('param', 5))->findOne()->getId());
}