first commit

This commit is contained in:
2025-01-06 20:47:25 +01:00
commit 3bdbd78c2f
25591 changed files with 3586440 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
<?php
namespace Paynow\Tests\Service;
use Paynow\Service\DataProcessing;
use Paynow\Tests\TestCase;
class DataProcessingTest extends TestCase
{
public function testShouldRetrieveAllNoticeListSuccessfully()
{
// given
$this->testHttpClient->mockResponse('data_processing_notices_success.json', 200);
$this->client->setHttpClient($this->testHttpClient);
$dataProcessing = new DataProcessing($this->client);
// when
$notices = $dataProcessing->getNotices('pl-PL')->getAll();
// then
$this->assertNotEmpty($notices);
}
}