3declare(strict_types=1);
14use PHPUnit\Framework\TestCase;
16require_once(
'./libs/composer/vendor/autoload.php');
24 $this->assertSame(
'hello', $value->asString());
31 $this->assertSame(
'6', $value->asString());
38 $this->assertSame(6, $value->getValue());
45 $this->assertSame(
'6', $value->asString());
52 $this->assertSame(6.0, $value->getValue());
57 $this->expectNotToPerformAssertions();
testFloatIsAlphanumericValueAndCanBeConvertedToString()
testTextIsNotAlphanumericAndWillThrowException()
testSimpleStringIsCorrectAlphanumericValueAndCanBeConvertedToString()
testIntegerIsAlphanumericValueAndCanBeConvertedToString()
testIntegerIsAlphanumericValue()
testFloatIsAlphanumericValue()