public SteamClientTests(Fixtures.SteamClientFixture steamClientFixture, Fixtures.UserSecretsFixture userSecretsFixture) { _steamClient = Guard.Argument(steamClientFixture).NotNull() .Wrap(f => f.SteamClient).NotNull().Value; _steamIds = Guard.Argument(userSecretsFixture).NotNull() .Wrap(f => f.SteamIds).NotNull().NotEmpty().DoesNotContainNull().DoesNotContainDuplicate().Value; }
public RemoteTests(Fixtures.HttpClientFixture httpClientFixture, Fixtures.UserSecretsFixture userSecretsFixture) { _httpClient = Guard.Argument(httpClientFixture).NotNull() .Wrap(f => f.HttpClient).NotNull().Value; _key = Guard.Argument(userSecretsFixture).NotNull() .Wrap(f => f.SteamKey).NotNull().NotEmpty().NotWhiteSpace().Value; _steamIds = Guard.Argument(userSecretsFixture).NotNull() .Wrap(f => f.SteamIds).NotNull().NotEmpty().DoesNotContainNull().DoesNotContainDuplicate().Value; }