public function testInsertInvalidData()
{
$this->setExpectedException('PHPUnit_Framework_Error_Warning', 'MongoCollection::insert(): expects parameter 1 to be an array or object, integer given');
$document = 8;
$this->getCollection()->insert($document);
}