htmlgen\test\CaptureTest::test_capture_callable PHP Метод

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

    public function test_capture_callable()
    {
        $expected = "<strong>can't hold us !</strong>";
        $actual = (string) capture('\\htmlgen\\test\\captureFake');
        $this->assertSame($expected, $actual);
    }