public void Test_AKQAController_Method_InputType() { //Arrange var controller = new AKQAServiceController(new NumberConverter()); //Act Type type = controller.ConvertAmount("1").GetType(); //Assert Assert.AreEqual(type.ToString(), "System.String"); }
public void Test_AKQAController_Method_NULL_Input() { //Arrange var controller = new AKQAServiceController(new NumberConverter()); //Act string samount = controller.ConvertAmount("1"); //Assert Assert.IsNotNull(samount); //Assert.AreEqual("ONE DOLLAR", samount); }