protected void TestRandomDefinition <TDefinition>(Action <TDefinition> definitionSetup) where TDefinition : DefinitionBase, new() { var model = RegressionService.TestRandomDefinition(definitionSetup); PleaseMakeSureWeCanUpdatePropertiesForTheSharePointSake(new[] { model }); }
protected void TestRandomDefinition <TDefinition>(Action <TDefinition> definitionSetup) where TDefinition : DefinitionBase, new() { var model = RegressionService.TestRandomDefinition(definitionSetup); if (EnablePropertyUpdateValidation) { ProcessPropertyUpdateValidation(new[] { model }); RegressionService.TestModels(new[] { model }); } }