private void createPreOpTest(ICDSPluginExecutionContext executionContext, TestProxy.Account target, EntityReference response) { Assert.AreEqual(Ids.Account, target.Id); Assert.IsNull(response); //alter the target to see if it get saved to the input parameters collection. target.AccountNumber = "1"; }
private void updatePreOpTest(ICDSPluginExecutionContext executionContext, TestProxy.Account target) { Assert.AreEqual(Ids.Account, target.Id); //alter the target to see if it get saved to the input parameters collection. target.AccountNumber = "1"; }
private void createPostOpTest(ICDSPluginExecutionContext executionContext, TestProxy.Account target, EntityReference response) { Assert.AreEqual(Ids.Account, target.Id); Assert.AreEqual(default(Guid), response.Id); //alter the response to see if it gets saved to the outputs collection. response.Id = Guid.NewGuid(); }
private void updatePostOpTest(ICDSPluginExecutionContext executionContext, TestProxy.Account target) { Assert.AreEqual(Ids.Account, target.Id); }