YouView Interview Question

Unit test for the specific problem