public void AspectTargetingCustom()
{
String content = "" +
"aspect McBrother for [ customMatcher(AspectSharp.Lang.Tests.Types.Matcher.ValidMatcher) ] " +
" " +
"end " +
" ";
EngineConfiguration conf = ProcessContent(content);
Assert.IsFalse(_context.HasErrors);
AspectDefinition aspect = conf.Aspects[0];
Assert.AreEqual( TargetStrategyEnum.Custom, aspect.TargetType.TargetStrategy );
Assert.IsNotNull( aspect.TargetType.CustomMatcherType );
Assert.IsNotNull( aspect.TargetType.CustomMatcherType.ResolvedType );
Assert.AreEqual( typeof(ValidMatcher), aspect.TargetType.CustomMatcherType.ResolvedType );
}