Go\Instrument\Transformer\MagicConstantTransformerTest::testTransformerReturnsWithoutMagicConsts PHP Method

testTransformerReturnsWithoutMagicConsts() public method

    public function testTransformerReturnsWithoutMagicConsts()
    {
        $this->metadata->source = '<?php echo "simple test, no magic constants" ?>';
        $expected = $this->metadata->source;
        $this->transformer->transform($this->metadata);
        $this->assertSame($expected, $this->metadata->source);
    }