Bringing Food?

I know it says you can't bring food into the test center with you, but are you allowed to bring like a granola bar and put it in your locker and eat during a break if you take one?