Also describes "dinosaur payment company" API sandboxes (stage).
So we end up testing against the production API with a staff member's credit card - well if we want to deploy any time soon.
Or I guess you could mock and cross your fingers that they haven't changed the API recently without telling you. Payment APIs are the most solid, but that's a low bar considering the state of third-party APIs in the real world.
If it wasn't hard for enterprises to build and manage APIs, then Google Apigee and Mulesoft wouldn't be worth billions.
var oldMen = from p in context.Persons where p.Sex == “M” && p.Age > 65;
“context” could be an Entity Framework context that would generate sql at runtime, an IMongoQueryable that would generate MongoQuery at runtime or an in memory List<Person> that would generate the equivalent foreach loop with an if condition (overly simplified) while running your tests.