First there was a test on paper about the basic programming tools in java. For example exceptions, abstract class, ... etc.
After a few weeks the second round was coding and it took 1-2 hours. The exercise was to write a simple application using exception handling, abstract class, interfaces, file handling ... etc. After that there was a code review with a verbal interview about the programming skills you know, such as patterns and collections.
At the end I did not get an offer. I created a working application during the second round, but after a few weeks they reject me. They were pretty rude. I asked what were my mistakes, and they answered that I have to re-learn the basic programming tools like classes...
It was a Junior Developer position but I think they don't want an entrant programmer. They want somebody who code in patterns in a job interview which took 1 or 2 hours.