MessagePack\Tests\Unit\TypeTransformer\CollectionTest::testAddRemoveFind PHP Метод

testAddRemoveFind() публичный Метод

public testAddRemoveFind ( )
    public function testAddRemoveFind()
    {
        $id = 5;
        $transformer = $this->getTransformerMock($id);
        $this->coll->add($transformer);
        $this->assertSame($transformer, $this->coll->find($id));
        $this->coll->remove($id);
        $this->assertNull($this->coll->find($id));
    }