use PHPUnit\Framework\TestCase;
use Symfony\Component\Templating\Storage\Storage;
use Symfony\Component\Templating\Storage\StringStorage;
/**
* @group legacy
*/
class StringStorageTest extends TestCase
{ public function testGetContent() { $storage =
new StringStorage('foo'
);
$this->
assertInstanceOf(Storage::
class,
$storage, 'StringStorage is an instance of Storage'
);
$storage =
new StringStorage('foo'
);
$this->
assertEquals('foo',
$storage->
getContent(), '->getContent() returns the content of the template'
);
}}