public static async Task <TestCaseClient> GetRootTestCase(TestSessionClient session, CancellationToken cancellationToken) { var command = new GetRootTestCaseCommand(); var proxy = await command.Send(session, null, cancellationToken); return(await TestCaseClient.FromProxy(proxy, cancellationToken)); }
public static async Task <TestCase> ResolveFromPath( TestSessionClient session, XElement path, CancellationToken cancellationToken) { var command = new ResolveFromPathCommand(); var proxy = await command.Send(session, path, cancellationToken); return(await TestCaseClient.FromProxy(proxy, cancellationToken)); }