Exemplo n.º 1
0
        public void Constructor_ValidKey_ShouldBeOk()
        {
            //Arrange
            var key = this._fixture.Generate <string>();

            //Act
            var client = new NifClient(key);

            //Assert
            client.Should().NotBeNull();
            client.Key.Should().BeSameAs(key);
        }
Exemplo n.º 2
0
        public NifClientIntegrationTests()
        {
            var key = Environment.GetEnvironmentVariable("NIFPT_KEY");

            this._client = new NifClient(key);
        }