public function testDeleteDocuments_ExpressionAsArray()
{
// add
$this->collection->createDocument(array('param' => 1))->save();
$this->collection->createDocument(array('param' => 2))->save();
$this->collection->createDocument(array('param' => 3))->save();
$this->collection->createDocument(array('param' => 4))->save();
// delete
$this->collection->deleteDocuments(array('param' => array('$gt' => 2)));
// test
$this->assertEquals(2, count($this->collection));
}