/** * @test */ public function createDebug_success() { $builder = $this->target->createDebug('/absolute/', 'assets/css'); $this->assertNotNull($builder); $this->assertInstanceOf(Builder::class, $builder); $this->assertEquals('/absolute/', $this->context->getRootPath()); $this->assertFalse($this->context->hasMinifier()); $this->assertTrue($this->context->hasDebug()); $this->assertTrue($this->context->hasStopWatch()); }
/** * @test */ public function enableDebug_success() { $this->assertSame($this->target, $this->target->enableDebug(true)); $this->assertEquals(true, $this->context->hasDebug()); }