YouView interview question

How would you test this API project?