using Microsoft.Extensions.Localization; using Shouldly; using Volo.Abp.Identity; using Volo.Abp.Identity.Localization; using Xunit; namespace Volo.Abp.TenantManagement { public class Localization_Tests : AbpIdentityDomainTestBase { private readonly IStringLocalizer _stringLocalizer; public Localization_Tests() { _stringLocalizer = GetRequiredService>(); } [Fact] public void Test() { _stringLocalizer["PersonalSettingsSavedMessage"].Value .ShouldBe("Your personal settings has been saved successfully."); } } }