Last week, we had the author of TDD for a Shopping Website LiveProject. Friday at 11am Ranch time, Steven Solomon will be hosting a live TDD session just for us. See for the agenda and registration link
You closed the brace, ending the method, on the line above. So your "for" loop is directly inside the class. You can only have variable, class and method declarations directly inside a class. You probably want to move that brace down a bit.
Use an editor or IDE that automatically looks after the indentation of your code, then you'll see this type of mistake more easily.
Also, please use CODE tags when you post here.
Betty Rubble? Well, I would go with Betty... but I'd be thinking of Wilma.
Get meta with me! What pursues us is our own obsessions! But not this tiny ad:
free, earth-friendly heat - a kickstarter for putting coin in your pocket while saving the earth