public void ValidateConstructTString() { string fileName = Path.GetTempFileName(); fileName = fileName.Replace(Path.GetTempPath(), ""); using (File.Create(fileName)) { } string args = "(" + fileName + ")"; AggregateNumbers aggregateNums = CommandArguments.Construct <AggregateNumbers>(args); Assert.IsNotNull(aggregateNums); }