コード例 #1
0
        public void DoesNotMatchJavascript()
        {
            //arrange
            var matcher = new JavaMatcher();
            var input   = @"<script type=""text\javascript""><script/>";

            //act
            var result = matcher.Match(input);

            //post
            Assert.That(result, Is.False);
        }
コード例 #2
0
        public void MatchJava()
        {
            //arrange
            var matcher = new JavaMatcher();
            var input   = "required skills java";

            //act
            var result = matcher.Match(input);

            //post
            Assert.That(result, Is.Not.Null);
        }
コード例 #3
0
        public void MatchJava2()
        {
            //arrange
            var matcher = new JavaMatcher();
            var input   = "java is required";

            //act
            var result = matcher.Match(input);

            //post
            Assert.That(result, Is.True);
        }
コード例 #4
0
        public void Smoke()
        {
            var matcher = new JavaMatcher();

            Assert.That(matcher, Is.Not.Null);
        }