Opus Technologies interview question

It was a Java coding assignment using JUNIT