public void Find_MethodNotCalled() { ISource source = Substitute.For <ISource>(); var provider = new EmployeeProvider(source); Assert.That(() => { provider.Find(null); }, Throws.ArgumentNullException); source.DidNotReceiveWithAnyArgs().FindByName(null); }