public void AdjustForCustomConfigurationTest(string parameters, MediaType?expectedMediaType, KnownSystem?expectedKnownSystem, char expectedDriveLetter, string expectedOutputDirectory, string expectedOutputFilename) { var env = new DumpEnvironment { DICParameters = new Parameters(parameters), System = KnownSystem.Custom, }; env.AdjustForCustomConfiguration(); Assert.Equal(expectedMediaType, env.Type); Assert.Equal(expectedKnownSystem, env.System); Assert.Equal(expectedDriveLetter, env.Drive.Letter); Assert.Equal(expectedOutputDirectory, env.OutputDirectory); Assert.Equal(expectedOutputFilename, env.OutputFilename); }