public void ParsingInterceptorRefForProperty()
{
AspectParser parser = CreateParser(
"aspect XPTO for MyNamespace.MyType \r\n" +
" " +
" pointcut property(* Name)" +
" advice(\"logger\")" +
" end" +
" " +
"end");
EngineConfiguration conf = parser.Parse();
AspectDefinition def = conf.Aspects[0];
PointCutDefinition pointcut = def.PointCuts[0];
Assert.AreEqual(1, pointcut.Advices.Count);
InterceptorDefinition adv = pointcut.Advices[0];
Assert.IsNotNull( adv );
Assert.AreEqual( "logger", adv.TypeReference.LinkRef );
}