Exemplo n.º 1
0
        public async Task GetLockedPeriodTests()
        {
            var request  = new FortnoxApiRequest(this.connectionSettings.AccessToken, this.connectionSettings.ClientSecret);
            var response = await LockedPeriodService.GetLockedPeriodAsync(request);

            Assert.IsNull(response.EndDate);
        }
Exemplo n.º 2
0
        public void GetLockedPeriodTests()
        {
            var response = LockedPeriodService.GetLockedPeriodAsync(new FortnoxApiRequest(this.connectionSettings.AccessToken, this.connectionSettings.ClientSecret)
            {
            }).GetAwaiter().GetResult();

            Assert.IsTrue(response != null);
        }