public void Constructor_Throws_ArgumentNullException_When_Options_Is_Null() { // Arrange EdGateClientOptions options = null; // Act & Assert Assert.Throws <ArgumentNullException>(() => _sut = new EdGateClient(options)); }
public void Constructor_Throws_Exception_When_EdGatePublicKey_Is_Null() { // Arrange EdGateClientOptions options = new EdGateClientOptions { EdGatePrivateKey = "x", EdGatePublicKey = null }; // Act & Assert Assert.Throws <Exception>(() => _sut = new EdGateClient(options)); }