“OMQ”: Philip’s Test, John 6.5-6

If Jesus already knew what he was going to do, why did he test Philip? Doesn’t that seem a little mean? What do you think?