public void IsInputObjectValid_ValidOutlineData_True() { var cropPlanModel = new ObjectModel() { IsSingleObject = true, IsCropPlan = true, ObjectId = 1 }; var fieldModel = new ObjectModel() { IsSingleObject = true, IsCropPlan = false, ObjectId = 1, ObjectTypeId = 8 }; var outlineModel = new ObjectModel() { IsSingleObject = true, IsCropPlan = false, ObjectId = 1, ObjectTypeId = 1 }; var inputModel = new OutlinesNetTcp() { OutId = 2, OutObjectTypeId = 1 }; // var cropPlanResult = cropPlanModel.IsInputObjectValid(inputModel); var fieldResult = fieldModel.IsInputObjectValid(inputModel); var outlineResult = outlineModel.IsInputObjectValid(inputModel); // Assert.IsTrue(cropPlanResult); Assert.IsTrue(fieldResult); Assert.IsTrue(outlineResult); }