getCount() public method

Number of items returned in each range of results. Note that the last results range could have fewer items than the requested number of items. Maximum value: 20.
public getCount ( ) : integer
return integer
 /**
  * @depends testSerializationDeserialization
  * @param PaymentHistory $obj
  */
 public function testGetters($obj)
 {
     $this->assertEquals($obj->getPayments(), PaymentTest::getObject());
     $this->assertEquals($obj->getCount(), 123);
     $this->assertEquals($obj->getNextId(), "TestSample");
 }
 public function testGetterSetters()
 {
     $this->assertEquals(self::$count, $this->history->getCount());
     $this->assertEquals(self::$nextId, $this->history->getNextId());
 }