<commit_before><commit_msg>SharedLayout<commit_after><?php
/**
 *
 */

namespace Mvc5\Test\View;

use Mvc5\App;
use Mvc5\Test\Test\TestCase;
use Mvc5\View\SharedLayout;

class SharedLayoutTest
    extends TestCase
{
    /**
     *
     */
    function test_shared_layout()
    {
        $layout = new SharedLayout;

        $this->assertSame($layout, $layout->with('foo', 'bar'));
        $this->assertSame($layout, $layout->without('foo'));
        $this->assertSame($layout, $layout->withService(new App));
    }
}

{'fraction_non_alphanumeric': 0.16827852998065765, 'fraction_numerical': 0.007736943907156673, 'mean_word_length': 3.1774193548387095, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1980781', 'n_tokens_mistral': 175, 'n_tokens_neox': 173, 'n_words': 26}