AspectSharp.Tests.AspectEngineBuilderTestCase.BuildUsingLanguage C# (CSharp) Method

BuildUsingLanguage() private method

private BuildUsingLanguage ( ) : void
return void
		public void BuildUsingLanguage()
		{
			String contents = "import AspectSharp.Tests.Classes in AspectSharp.Tests " + 
				" interceptors [" + 
				" \"key\" : DummyInterceptor " + 
				" ]" + 
				" mixins [" + 
				" \"key\" : DummyMixin " + 
				" ]" + 
				" " + 
				" aspect McBrother for DummyCustomer " + 
				"   include \"key\"" + 
				"   " + 
				"   pointcut method(*)" + 
				"     advice(\"key\")" + 
				"   end" + 
				"   " + 
				" end ";

			AspectEngineBuilder builder = new AspectLanguageEngineBuilder(contents);

			AspectEngine engine = builder.Build();
			AssertEngineConfiguration(engine);
		}