/** * Test: Get app remaining * * @covers \Pushy\Client::getAppRemaining */ public function testGetAppRemaining() { $this->mockTransport->shouldReceive('getAppRemaining')->andReturn(5235); // Assert we get right reset value back $this->assertEquals(5235, $this->client->getAppRemaining()); }