Ejemplo n.º 1
0
        public void ShouldNotMatchMachineName()
        {
            var matcher = new MachineNameMatcher("notamachine") as Matcher;

            matcher.IsMatch().Should().BeFalse();
        }
Ejemplo n.º 2
0
        public void ShouldMatchMachineName()
        {
            var matcher = new MachineNameMatcher(System.Environment.MachineName) as Matcher;

            matcher.IsMatch().Should().BeTrue();
        }