Go\Instrument\Transformer\WeavingTransformerTest::testWeaverForNormalClass PHP Method

testWeaverForNormalClass() public method

Main test case for class
    public function testWeaverForNormalClass()
    {
        $metadata = $this->loadTest('class');
        $this->transformer->transform($metadata);
        $actual = $this->normalizeWhitespaces($metadata->source);
        $expected = $this->normalizeWhitespaces($this->loadTest('class-woven')->source);
        $this->assertEquals($expected, $actual);
    }