private ServiceRecipientTestContext() { Settings = new OdsSettings { ApiBaseUrl = "https://fakeodsserver.net/ORD/2-0-0", GetChildOrganisationSearchLimit = 1, GpPracticeRoleId = "RO177", }; Repository = new ServiceRecipientRepository(Settings); Http = new HttpTest(); }
public static void Constructor_NullSettings_ThrowsException() { Assert.Throws <ArgumentNullException>(() => { _ = new ServiceRecipientRepository(null); }); }