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.
		
		
		
		
		
			
		
			
				
					
					
						
							24 lines
						
					
					
						
							653 B
						
					
					
				
			
		
		
	
	
							24 lines
						
					
					
						
							653 B
						
					
					
				| using Microsoft.Extensions.Options;
 | |
| using Shouldly;
 | |
| using Xunit;
 | |
| 
 | |
| namespace Volo.Abp.TextTemplating
 | |
| {
 | |
|     public class AbpTextTemplatingOptions_Tests : AbpTextTemplatingTestBase
 | |
|     {
 | |
|         private readonly AbpTextTemplatingOptions _options;
 | |
| 
 | |
|         public AbpTextTemplatingOptions_Tests()
 | |
|         {
 | |
|             _options = GetRequiredService<IOptions<AbpTextTemplatingOptions>>().Value;
 | |
|         }
 | |
| 
 | |
|         [Fact]
 | |
|         public void Should_Auto_Add_TemplateDefinitionProviders_To_Options()
 | |
|         {
 | |
|             _options
 | |
|                 .DefinitionProviders
 | |
|                 .ShouldContain(typeof(TestTemplateDefinitionProvider));
 | |
|         }
 | |
|     }
 | |
| } |