public void CreateChannel_UnitTest() { IITfsRequestChannel innerChannel = default(IITfsRequestChannel); ExecuteMethod( () => { return((IITfsRequestChannelFactory)GetInstance()); }, instance => { innerChannel = ITfsRequestChannelImpl_UnitTests.GetInstance(); CreateChannel_PreCondition(instance, ref innerChannel); }, instance => { instance.CreateChannel(innerChannel); }, instance => { CreateChannel_PostValidate(instance, innerChannel); }); }
partial void Settings_SetCondition(ref IITfsRequestChannel instance, ref ITfsRequestSettings setValue);
partial void SessionId_SetCondition(ref IITfsRequestChannel instance, ref Guid setValue);
partial void Request_PreCondition(IITfsRequestChannel instance, ref ITfsMessage message);
partial void Request_PostValidate(IITfsRequestChannel instance, ITfsMessage message);
partial void EndRequest_PreCondition(IITfsRequestChannel instance, ref IAsyncResult result);
partial void EndRequest_PostValidate(IITfsRequestChannel instance, IAsyncResult result);
partial void CreateChannel_PostValidate(IITfsRequestChannelFactory instance, IITfsRequestChannel innerChannel);
partial void BeginRequest_PreCondition(IITfsRequestChannel instance, ref ITfsMessage message, ref AsyncCallback callback, ref Object state);
partial void BeginRequest_PostValidate(IITfsRequestChannel instance, ITfsMessage message, AsyncCallback callback, Object state);
partial void Abort_PreCondition(IITfsRequestChannel instance);
partial void Abort_PostValidate(IITfsRequestChannel instance);
IITfsRequestChannel IITfsRequestChannelFactory.CreateChannel(IITfsRequestChannel innerChannel) { throw new ToBeImplementedException(); }
partial void CreateChannel_PreCondition(IITfsRequestChannelFactory instance, ref IITfsRequestChannel innerChannel);
partial void State_SetCondition(ref IITfsRequestChannel instance, ref ITfsHttpClientState setValue);
partial void Uri_SetCondition(ref IITfsRequestChannel instance, ref Uri setValue);
partial void Culture_SetCondition(ref IITfsRequestChannel instance, ref CultureInfo setValue);