mirror of
https://git.yoomoney.ru/scm/sdk/yookassa-sdk-php.git
synced 2026-10-20 14:47:10 +00:00
Обновленная версия SDK
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
<?php
|
||||
|
||||
namespace Tests\YooKassa\Helpers;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use YooKassa\Helpers\StringObject;
|
||||
|
||||
class StringObjectTest extends TestCase
|
||||
{
|
||||
/**
|
||||
* @dataProvider dataProvider
|
||||
* @param string $value
|
||||
*/
|
||||
public function testToString($value)
|
||||
{
|
||||
$instance = new StringObject($value);
|
||||
self::assertEquals($value, $instance->__toString());
|
||||
}
|
||||
|
||||
public function dataProvider()
|
||||
{
|
||||
return array(
|
||||
array(''),
|
||||
array('value'),
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user