Execute() public méthode

public Execute ( ErrorResultTO &errors, int update ) : System.Guid
errors Dev2.DataList.Contract.ErrorResultTO
update int
Résultat System.Guid
 public void PluginServiceContainer_UnitTest_ExecuteWhereHasPluginServiceExecution_Guid()
 {
     //------------Setup for test--------------------------
     var mockServiceExecution = new Mock<IServiceExecution>();
     ErrorResultTO errors;
     Guid expected = Guid.NewGuid();
     mockServiceExecution.Setup(execution => execution.Execute(out errors, 0)).Returns(expected);
     PluginServiceContainer pluginServiceContainer = new PluginServiceContainer(mockServiceExecution.Object);
     //------------Execute Test---------------------------
     Guid actual = pluginServiceContainer.Execute(out errors, 0);
     //------------Assert Results-------------------------
     Assert.AreEqual(expected, actual, "Execute should return the Guid from the service execution");
 }