public Func<Func<IActorRef, int>, bool> AllShouldEqual(int what, IEnumerable<IActorRef> actors) { return func => { var results = actors.Select(func); return results.All(x => x == what); }; }