Zendesk\API\LiveTests\TicketsTest::testFindMultiple PHP Method

testFindMultiple() public method

Tests if the client can call and build the show many tickets endpoint with the correct IDs
public testFindMultiple ( $ticket )
    public function testFindMultiple($ticket)
    {
        $ticket2 = $this->createTestTicket();
        $response = $this->client->tickets()->findMany([$ticket->id, $ticket2->id]);
        $this->assertTrue(property_exists($response, 'tickets'));
        $this->assertEquals(2, count($response->tickets));
        $this->assertEquals(2, $response->count);
    }