public void DuplicateInterceptorsInPointcut()
{
String content = "aspect McBrother for X " +
" pointcut property(* Name) " +
" " +
" advice(Interceptors.SecurityInterceptor in MyAssembly) " +
" advice(Interceptors.SecurityInterceptor in MyAssembly) " +
" " +
" end " +
"end";
Analize( CreateEngineConfiguration( content ) );
Assert.IsTrue(_context.HasErrors);
AssertOutput("Duplicated advices found;");
}