public function testCreateCollectionInvalidParameters() { $database = $this->getDatabase(); $this->assertInstanceOf('MongoCollection', $database->createCollection('test', ['capped' => 2, 'size' => 100])); }