Searched refs:FakeCallCredentials (Results 1 – 4 of 4) sorted by relevance
36 …composite = ChannelCredentials.Create(new FakeChannelCredentials(true), new FakeCallCredentials()); in ChannelCredentials_CreateComposite()39 …s(typeof(ArgumentNullException), () => ChannelCredentials.Create(null, new FakeCallCredentials())); in ChannelCredentials_CreateComposite()43 …n), () => ChannelCredentials.Create(new FakeChannelCredentials(false), new FakeCallCredentials())); in ChannelCredentials_CreateComposite()
43 internal class FakeCallCredentials : CallCredentials class
36 …Assert.Throws(typeof(ArgumentException), () => CallCredentials.Compose(new FakeCallCredentials())); in CallCredentials_ComposeAtLeastTwo()
52 var credentials = new FakeCallCredentials(); in WithMethods()