DotsUnited\BundleFu\Tests\BundleTest::testBundleCssOnlyShouldOutputCssIncludeStatement PHP Method

testBundleCssOnlyShouldOutputCssIncludeStatement() public method

    public function testBundleCssOnlyShouldOutputCssIncludeStatement()
    {
        $this->bundle->start();
        list($first, $second, $third) = explode("\n", $this->includeSome());
        echo $third;
        $this->bundle->end();
        $output = $this->bundle->render();
        $split = explode("\n", $output);
        $this->assertEquals(1, count($split));
        $this->assertRegExp('/css/', $split[0]);
    }