mirror of https://github.com/abpframework/abp
				
				
				
			
			You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							16 lines
						
					
					
						
							428 B
						
					
					
				
			
		
		
	
	
							16 lines
						
					
					
						
							428 B
						
					
					
				| using Shouldly;
 | |
| using Xunit;
 | |
| 
 | |
| namespace Volo.Abp.SettingManagement;
 | |
| 
 | |
| public class SettingCacheItem_Tests
 | |
| {
 | |
|     [Fact]
 | |
|     public void GetSettingNameFormCacheKeyOrNull()
 | |
|     {
 | |
|         var key = SettingCacheItem.CalculateCacheKey("aaa", "bbb", "ccc");
 | |
|         SettingCacheItem.GetSettingNameFormCacheKeyOrNull(key).ShouldBe("aaa");
 | |
|         SettingCacheItem.GetSettingNameFormCacheKeyOrNull("aaabbbccc").ShouldBeNull();
 | |
|     }
 | |
| }
 |