/** * @test */ public function it_can_remove_a_line_by_the_key() { $path = $this->get_fixture_path('env-basic'); $env = new File($path); $env->load(); $this->assertSame('BAR', $env->get('FOO')); $env->remove('FOO'); $this->assertNull($env->get('FOO')); }