AspectSharp.Lang.Tests.Types.ResolveTypesStepTestCase.MixinResolvedUsingImport C# (CSharp) Метод

MixinResolvedUsingImport() приватный Метод

private MixinResolvedUsingImport ( ) : void
Результат void
		public void MixinResolvedUsingImport()
		{
			String content = "import System.Collections " + 
				"mixins \r\n" +
				"[" + 
				"\"customer\" : ArrayList" +
				"]";

			EngineConfiguration conf = ProcessContent(content);
			Assert.IsFalse(_context.HasErrors);
			MixinEntryDefinition mixin = conf.Mixins[0];
			Assert.IsNotNull( mixin.Key );
			Assert.IsNotNull( mixin.TypeReference );
			Assert.IsNotNull( mixin.TypeReference.ResolvedType );
			Assert.AreEqual( typeof(System.Collections.ArrayList), mixin.TypeReference.ResolvedType );
		}