コード例 #1
0
 private bool FilterCustomer(MockCustomer entity)
 {
     return(entity.CustomerId == this.CustomerId);
 }
コード例 #2
0
 private bool FilterCustomer(MockCustomer entity)
 {
     return (entity.CustomerId == this.CustomerId);
 }
コード例 #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);
 }
コード例 #4
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);
 }