EPAM Systems interview question

Asked to perform binary search on an array and write unit tests for it.