meraproject/vendor/yoomoney/yookassa-sdk-php/tests/Helpers/StringObjectTest.php
keboss-m 5c21d25d45 Initial commit: Merakomis portal, Docker stack and user-reader API.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-24 11:04:05 +03:00

28 lines
524 B
PHP

<?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'),
);
}
}