Ejemplo n.º 1
0
        private TestOperation PrepareValidOperation(TestOperation operation)
        {
            operation.MethodReturns      = HttpMethod.Get;
            operation.RelativeUriReturns = new Uri("/test", UriKind.Relative);
            operation.ResultTypeReturns  = typeof(TestOperationResult);

            return(operation);
        }
Ejemplo n.º 2
0
        private TestOperation PrepareValidOperation()
        {
            var operation = new TestOperation();

            return(PrepareValidOperation(operation));
        }