EPAM Systems interview question

java program, write a test case