Write an interface named 'Test' with the following behavior:___________ 1. a method 'getDuration' that returns a 'Duration' object. 2. a method 'check' that accepts 3. an integer parameter and returns a 'Result' object. 4. a method 'getScore' that returns 5. a double.