public void MixinProxyAware()
{
String contents = "import AspectSharp.Tests.Classes in AspectSharp.Tests " +
" " +
" aspect McBrother for LogEnabledAuthor " +
" " +
" include LogFactoryMixin" +
" " +
" end ";
AspectEngineBuilder builder = new AspectLanguageEngineBuilder(contents);
AspectEngine engine = builder.Build();
LogEnabledAuthor author = engine.WrapClass(typeof(LogEnabledAuthor)) as LogEnabledAuthor;
Assert.IsNotNull(author);
Assert.IsNotNull(author as ILogEnabled);
Assert.IsNotNull(author.Logger);
}
}