/** * @test */ public function is_returns_correct_boolean() { $dotenv = new DotEnv([$this->pathname('.env')]); $dotenv->overload(); $this->assertTrue(DotEnv::is('ENVIRONMENT', 'live')); $this->assertFalse(DotEnv::is('ENVIRONMENT', 'local')); }