public void CreateObjTestTheGoodRetrunValueType() { var test = new GenericInfoModelMapper(); var tuple = ("uuid", "message"); var returnSetting = test.CreateObj(tuple); Assert.IsTrue(returnSetting is CommandValues.GenericInfoCommandValue); }
public void CreateObjVerifyTheValuesSet() { var test = new GenericInfoModelMapper(); string message = "message"; string uuid = "uuid"; var returnSetting = test.CreateObj((uuid, message)) as CommandValues.GenericInfoCommandValue; Assert.AreEqual(returnSetting.Message, message); Assert.AreEqual(returnSetting.Uuid, uuid); }