예제 #1
0
        public async Task GetLogoBase64_ReturnsStringLogo()
        {
            // Arrange
            string logo = "logo";

            _regionBlobStorage.Setup(x => x.GetBlobBase64Async(It.IsAny <string>())).ReturnsAsync(logo);
            // Act
            var result = await _regionService.GetLogoBase64(logo);

            // Assert
            Assert.IsInstanceOf <string>(result);
            Assert.IsNotNull(result);
        }