When expectations are made on blocks, it's cleaner to use the `expect { }` syntax over a straight lambda.