예제 #1
0
        public void Encrypt_GivenFakeMerchantDetails_ShouldBeConvertedToJWTToken()
        {
            // Arrange
            var testMerchant = "merchantID";
            var apiKey       = "TestApiKey";

            // Act
            var encryptedData = _merchantService.GenerateJwtToken(testMerchant, apiKey);

            // Assert
            encryptedData.Should().NotBeNullOrEmpty();
        }