public function testPaginationGettersSetter() { $pagination = new OffsetPaginatedResponse('foo', 1, 2, 3); $responseContainer = new ResponseModel(); $responseContainer->setPagination($pagination); $this->assertEquals($pagination, $responseContainer->getPagination()); }