示例#1
0
 public bool MockPassOnly(IOnlyMockSample sample)
 {
     sample?.FailIfNotMocked();
     return(true);
 }
示例#2
0
 /// <summary>For testing.</summary>
 public InjectMockSample(IOnlyMockSample sample1, IOnlyMockSample sample2)
 {
     _sample1 = sample1 ?? throw new ArgumentNullException(nameof(sample1));
     _sample2 = sample2 ?? throw new ArgumentNullException(nameof(sample2));
 }