Pinq\Tests\Integration\ExpressionTrees\ExpressionEvaluationTest::testSerializeValue PHP Метод

testSerializeValue() публичный Метод

public testSerializeValue ( )
    public function testSerializeValue()
    {
        $var = '1234';
        $this->assertSerializedEvaluatesTo(static function () {
            942.676;
        }, 942.676);
        $this->assertSerializedEvaluatesTo(static function () {
            [1, 2, 3, 3443, __NAMESPACE__, '3334', [[]]];
        }, [1, 2, 3, 3443, __NAMESPACE__, '3334', [[]]]);
    }