public OpResult StoreRmaBussesDescriptionDataTest( [PexAssumeUnderTest] RmaBusinessDescriptionProcessor target, RmaBusinessDescriptionModel model ) { target = new RmaBusinessDescriptionProcessor(); model = new RmaBusinessDescriptionModel() { BadDescription = "asdf", CustomerHandleSuggestion = "lasdfas", CustomerId = "safsd", CustomerName = "lsdf", FeePaymentWay = "asfsad", HandleStatus = "sd", SalesOrder = "sdf", ProductCount = 10, ProductId = "safd", ProductName = "asdf", ProductSpec = "adfs", ProductsShipDate = DateTime.Now, ReturnHandleOrder = "sdds", RmaId = "safd", RmaIdNumber = 0, OpSign = "add" }; OpResult result = target.StoreRmaBussesDescriptionData(model); return(result); // TODO: 将断言添加到 方法 RmaBusinessDescriptionProcessorTest.StoreRmaBussesDescriptionDataTest(RmaBusinessDescriptionProcessor, RmaBusinessDescriptionModel) }
public void StoreRmaBussesDescriptionDataTest() { RmaBusinessDescriptionProcessor r = new RmaBusinessDescriptionProcessor(); r.StoreRmaBusinessDescriptionData(new RmaBusinessDescriptionModel() { RmaId = "11", RmaIdNumber = 1, ReturnHandleOrder = "11", ProductId = "11", ProductName = "11", ProductSpec = "11", ProductCount = 11, CustomerId = "11", CustomerName = "11", SalesOrder = "11", BadDescription = "11", ProductsShipDate = DateTime.Now, CustomerHandleSuggestion = "11", FeePaymentWay = "11", HandleStatus = "11", OpPerson = "11", OpSign = "add" }); Assert.Fail(); }