19declare(strict_types=1);
27use PHPUnit\Framework\TestCase;
29require_once(
'./vendor/composer/vendor/autoload.php');
37 $this->assertSame(
'hello', $value->asString());
44 $this->assertSame(
'6', $value->asString());
51 $this->assertSame(6, $value->getValue());
58 $this->assertSame(
'6', $value->asString());
65 $this->assertSame(6.0, $value->getValue());
70 $this->expectNotToPerformAssertions();
testFloatIsAlphanumericValueAndCanBeConvertedToString()
testTextIsNotAlphanumericAndWillThrowException()
testSimpleStringIsCorrectAlphanumericValueAndCanBeConvertedToString()
testIntegerIsAlphanumericValueAndCanBeConvertedToString()
testIntegerIsAlphanumericValue()
testFloatIsAlphanumericValue()