In today's Gospel reading from John 6, the Jewish feast of Passover was near when Jesus saw that a large crowd was coming to him. He said to Philip, "Where can we buy enough food for them to eat?" He said this to test him because he himself knew what he was going to do. Philip answered him, "Two hundred days' wages worth of food would not be enough for each of them to have a little." Andrew, another disciple, said to him, "There is a boy here who has five barley loaves and two fish; but what good are these for so many?" Jesus had all the people recline, about five thousand in number. Then he took the loaves, gave thanks, and distributed them to those who were reclining, and also as much of the fish as they wanted.
The lesson here is clear. God does test us, knowing well what he is going to do. As a matter of fact, I see every problem we face as a test of our faith. Knowing well that God always knew what he is going to do, we might as well place our trust in him always.