public void InitializeFromCmdLine_EmptyPrefixAndAssignmentDelimiterEqualitySign_CmdLineArgumentParsed() { var cmdLineObjectWithEmptyPrefix = new CmdLineObjectWithEmptyPrefixAssignmentDelimiterEqualitySign(); cmdLineObjectWithEmptyPrefix.InitializeFromCmdLine("Car=Lamborghini"); cmdLineObjectWithEmptyPrefix.Car.Should().Be(Car.Lamborghini); }
InitializeFromCmdLine_EmptyPrefixAndAssignmentDelimiterEqualitySignValueSurroundedByDoubleQuotes_FullPathWithoutDoubleQuotes () { var cmdLineObjectWithEmptyPrefix = new CmdLineObjectWithEmptyPrefixAssignmentDelimiterEqualitySign(); cmdLineObjectWithEmptyPrefix.InitializeFromCmdLine(@"FullPath=""C:\Program Files\bizark\"""); cmdLineObjectWithEmptyPrefix.FullPath.Should().Be(@"C:\Program Files\bizark\"); }