Exemplo n.º 1
0
 private bool FilterCustomer(MockCustomer entity)
 {
     return(entity.CustomerId == this.CustomerId);
 }
 private bool FilterCustomer(MockCustomer entity)
 {
     return (entity.CustomerId == this.CustomerId);
 }
Exemplo n.º 3
0
 /// <summary>
 /// Invokes the 'MockCustomerCustomMethod' method of the specified <see cref="MockCustomer"/> entity.
 /// </summary>
 /// <param name="current">The <see cref="MockCustomer"/> entity instance.</param>
 /// <param name="expectedStateName">The value for the 'expectedStateName' parameter for this action.</param>
 /// <param name="expectedOriginalStateName">The value for the 'expectedOriginalStateName' parameter for this action.</param>
 public void MockCustomerCustomMethod(MockCustomer current, string expectedStateName, string expectedOriginalStateName)
 {
     current.MockCustomerCustomMethod(expectedStateName, expectedOriginalStateName);
 }
 /// <summary>
 /// Invokes the 'MockCustomerCustomMethod' method of the specified <see cref="MockCustomer"/> entity.
 /// </summary>
 /// <param name="current">The <see cref="MockCustomer"/> entity instance.</param>
 /// <param name="expectedStateName">The value for the 'expectedStateName' parameter for this action.</param>
 /// <param name="expectedOriginalStateName">The value for the 'expectedOriginalStateName' parameter for this action.</param>
 public void MockCustomerCustomMethod(MockCustomer current, string expectedStateName, string expectedOriginalStateName)
 {
     current.MockCustomerCustomMethod(expectedStateName, expectedOriginalStateName);
 }