/** The actual run of a test */\r
public interface TestRun {\r
/** Gets the related test definition. */\r
- public TestDefinition getTestDefinition();\r
+ public <T extends TestDefinition> T getTestDefinition();\r
\r
/** Gets the related test data */\r
- public TestData getTestData();\r
+ public <T extends TestData> T getTestData();\r
\r
/** Gets the related deployed system. */\r
- public DeployedSystem getDeployedSystem();\r
+ public <T extends DeployedSystem> T getDeployedSystem();\r
\r
/** Gets the related result where to record results. */\r
- public TestResult getTestResult();\r
+ public <T extends TestResult> T getTestResult();\r
}\r