Example5 with Func doing a test