public void ReturnNullWhenDocumentNotExists() { var expression = CustomerQueries.GetByDocument("12345678956"); var customs = _customers.AsQueryable().Where(expression).FirstOrDefault(); Assert.AreEqual(null, customs); }