first commit

This commit is contained in:
2024-10-28 22:14:22 +01:00
commit b65352c452
40581 changed files with 5712079 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);
}
}