public void HasAnyParameters_WhenEmailGiven_True() { var query = new SearchCustomers { Email = "*****@*****.**", }; Assert.True(query.HasAnyParameters()); }
public void HasAnyParameters_WhenNameGiven_True() { var query = new SearchCustomers { Name = "value" }; Assert.True(query.HasAnyParameters()); }
public void HasAnyParameters_False() { var query = new SearchCustomers(); Assert.False(query.HasAnyParameters()); }