public void Contains_With_SqlMethodsLike_ThrowException()
        {
            // Arrange
            var source = new EnumerableQuery <Services>(new List <Services> {
                new Services {
                    Name = "My Service 1"
                }
            });

            // Act
            Exception ex = Assert.Throws <NotSupportedException>(() => source.ContainsByNameWithLike("m%"));

            // Assert
            ex.Message.Should().Be("Method 'Boolean Like(System.String, System.String)' cannot be used on the client; it is only for translation to SQL.");
        }