I've read a lot of things about TDD but I still have doubts. For example, I have these class diagrams:
It's a simple example, just to learn about TDD and mock objects.
Which test should I write first? Product, then Line and last, Order? If I do that, should I use Line and Product to test Order or should I use Mock Objects? When should I use Mock Objects? Should I use UML with XP and TDD?
I don't get these things yet.
Thank you and sorry about my english.