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