public void Test001() { var result = ScaleModelDomainAdapter.AddDataModelToDb(new InputFieldConfigurationDataModel() { ControlType = ScaleModelDomain.Base.Enums.ControlType.TextBox, DataType = System.ComponentModel.DataAnnotations.DataType.Text, IsRequired = true, LabelName = "Test-field", ToolTip = "Test-field tooltip" }); Assert.IsTrue(result.CallSuccessfull); }
public void Test004() { var result = ScaleModelDomainAdapter.AddDataModelToDb(null); Assert.IsFalse(result.CallSuccessfull); }