public void ParsingMethodAndPropertyPointcutDeclaration()
{
AspectParser parser = CreateParser(
"aspect XPTO for MyNamespace.MyType \r\n" +
" " +
" pointcut method|property(*)" +
" end" +
" " +
"end");
EngineConfiguration conf = parser.Parse();
AspectDefinition def = conf.Aspects[0];
Assert.AreEqual(1, def.PointCuts.Count);
PointCutDefinition pointcut = def.PointCuts[0];
Assert.IsNotNull( pointcut );
Assert.AreEqual( PointCutFlags.Property | PointCutFlags.Method, pointcut.Flags );
Assert.AreEqual( AllMethodSignature.Instance, pointcut.Method );
}