19declare(strict_types=1);
28use PHPUnit\Framework\TestCase;
30require_once(
'./vendor/composer/vendor/autoload.php');
38 $this->assertSame(
'hello', $value->asString());
45 $this->assertSame(
'6', $value->asString());
52 $this->assertSame(6, $value->getValue());
59 $this->assertSame(
'6', $value->asString());
66 $this->assertSame(6.0, $value->getValue());
71 $this->expectNotToPerformAssertions();
testFloatIsAlphanumericValueAndCanBeConvertedToString()
testTextIsNotAlphanumericAndWillThrowException()
testSimpleStringIsCorrectAlphanumericValueAndCanBeConvertedToString()
testIntegerIsAlphanumericValueAndCanBeConvertedToString()
testIntegerIsAlphanumericValue()
testFloatIsAlphanumericValue()