public void ReturnsFalse_StoreByIdSearchByNameOrCitySpecSpec_WithInvalidCityAndNameSearchString() { var spec = new StoreByIdSearchByNameOrCitySpec(StoreSeed.VALID_Search_ID, "random"); var result = spec.IsSatisfiedBy(store); result.Should().BeFalse(); }
public void ReturnsTrue_StoreByIdSearchByNameOrCitySpecSpec_WithInvalidCitySearchString() { var spec = new StoreByIdSearchByNameOrCitySpec(StoreSeed.VALID_Search_ID, StoreSeed.VALID_Search_Name_Key); var result = spec.IsSatisfiedBy(store); result.Should().BeTrue(); }