Alcaeus\MongoDbAdapter\Tests\Mongo\MongoCollectionTest::testSubCollectionWithNullBytes PHP 메소드

testSubCollectionWithNullBytes() 공개 메소드

    public function testSubCollectionWithNullBytes()
    {
        $collection = $this->getCollection();
        $this->assertInstanceOf('MongoCollection', $collection->{'foo' . chr(0)});
        $this->assertSame('test', $collection->getName());
    }
MongoCollectionTest