EPAM Systems Interview Question

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