Gc\View\Resolver\TemplatePathStackTest::testResolveWithoutDefaultSuffix PHP Method

testResolveWithoutDefaultSuffix() public method

Test
    public function testResolveWithoutDefaultSuffix()
    {
        $this->object->setDefaultSuffix('.bar');
        $this->object->addPath(__DIR__ . '/_templates');
        $markup = $this->object->resolve('two.phtml');
        $this->assertEquals(__DIR__ . '/_templates/two.phtml.bar', $markup);
    }