Pantheon\Terminus\UnitTests\Collections\UserOwnedCollectionTest::setUp PHP Method

setUp() public method

public setUp ( )
    public function setUp()
    {
        parent::setUp();
        $user = new User((object) ['id' => 'USERID']);
        $this->collection = new $this->class(['user' => $user]);
        $this->collection->setRequest($this->request);
        $this->collection->setContainer($this->container);
    }
UserOwnedCollectionTest