public void TestParse_NotAnAtChar()
		{
			SvcDirectiveParserState target = new ServerDirectiveIndicatorFoundState( GetPrevious() );
			var reader = new StringReader( "S" );

			target = target.Parse( reader );
		}
        public void TestParse_NotAnAtChar()
        {
            SvcDirectiveParserState target = new ServerDirectiveIndicatorFoundState(GetPrevious());
            var reader = new StringReader("S");

            target = target.Parse(reader);
        }
		public void TestParse_AtImmediately_TransitToRuntimeDirectiveIndicatorFoundState()
		{
			SvcDirectiveParserState target = new ServerDirectiveIndicatorFoundState( GetPrevious() );
			var reader = new StringReader( "@" );
			target = target.Parse( reader );

			Assert.That( target, Is.TypeOf<RuntimeDirectiveIndicatorFoundState>() );
		}
        public void TestParse_AtImmediately_TransitToRuntimeDirectiveIndicatorFoundState()
        {
            SvcDirectiveParserState target = new ServerDirectiveIndicatorFoundState(GetPrevious());
            var reader = new StringReader("@");

            target = target.Parse(reader);

            Assert.That(target, Is.TypeOf <RuntimeDirectiveIndicatorFoundState>());
        }
		public RuntimeDirectiveIndicatorFoundState( ServerDirectiveIndicatorFoundState previous ) : base( previous ) { }
Exemple #6
0
 public RuntimeDirectiveIndicatorFoundState(ServerDirectiveIndicatorFoundState previous) : base(previous)
 {
 }