Yesterday I facilitated the Ohce kata in a Barcelona Software Craftsmanship event.
Since I was facilitating, I didn't have the opportunity to write any code.
So, when I got home, I did the kata in Java using outside-in TDD and jMock.
I committed after each passing test and each tiny refactoring, so that you can follow the process if you feel like.
You can check the commits step by step here.
You can find the resulting code in this GitHub repository.
Thanks to all the attendees and to Magento Barcelona for kindly having us once more.
I improved the design in this new version of the code: