Zendesk\API\UnitTests\Core\UserTicketsTest::testRelated PHP Method

testRelated() public method

Tests if the requested endpoint can be called by the client and is passed the correct ID
public testRelated ( )
    public function testRelated()
    {
        $this->assertEndpointCalled(function () {
            $this->client->users(12345)->tickets()->requested();
        }, 'users/12345/tickets/requested.json');
    }