public void RemovePackageFolder_should_remove_package_folder_from_environment_variable() { // Arrange var fixture = new Fixture().Customize(new AutoMoqCustomization()); var variableValue = fixture.Create<string>(); var envRepos = new EnvironmentRepository(); envRepos.StorePackageFolder(fixture.Create<string>()); // Act envRepos.RemovePackageFolder(); // Assert Assert.IsNull(Environment.GetEnvironmentVariable("URASANDESU_PRIG_PACKAGE_FOLDER")); }