private static void TestParseCore( char quotation, string name, string value, Action<SvcDirectiveParserState> assertion )
		{
			SvcDirectiveParserState target = new AttributeValueParsingState( GetPrevious(), name, quotation, new StringBuilder() );
			var reader = new StringReader( value + quotation );
			target = target.Parse( reader );
			Assert.That( target, Is.TypeOf<AttributeNameParsingState>() );
			assertion( target );
		}
		public AttributeNameParsingState( AttributeValueParsingState previous, StringBuilder buffer ) : base( previous, buffer ) { }
		public void TestParse_NoEndQuot_Fail()
		{
			var quotation = '"';
			var name = "Service";
			var value = "Example.Service";
			SvcDirectiveParserState target = new AttributeValueParsingState( GetPrevious(), name, quotation, new StringBuilder() );
			var reader = new StringReader( value );
			target = target.Parse( reader );
		}
		public void TestParse_SingleQuoteOneCharAndDoubleQuote_NameWasService_TransitToAttributeNameParsingStateWithDirectiveSet()
		{
			var quotation = '\'';
			var name = "Service";
			var value = "Example.Service";
			SvcDirectiveParserState target = new AttributeValueParsingState( GetPrevious(), name, quotation, new StringBuilder() );
			var reader = new StringReader( value + '"' );
			target = target.Parse( reader );
		}