public void GetStringTest( [Values(" a + b ")] string inputData ) { var cmdData = new CmdData(); cmdData.GetData(inputData); var resultString = cmdData.GetString(); Assert.AreEqual("a + b", resultString); }