public void MultiplyTestCase() { double leftOp = 2; double rightOp = 2; var testData = new { operation = "multiply", arguments = new List <double> { leftOp, rightOp }, result = leftOp * rightOp }; var controller = new CalcController(); var result = controller.GetMul(leftOp, rightOp); Assert.AreEqual(result.ToString(), testData.ToString()); }