예제 #1
0
        public void ValidateAddressInputPassesWithValidIpAddress()
        {
            MockController ctrl = new MockController();

            ctrl.RunTest("8.8.8.8");
        }
예제 #2
0
        public void ValidateAddressInputPassesWithValidDomain()
        {
            MockController ctrl = new MockController();

            ctrl.RunTest("google.com");
        }
예제 #3
0
        public void ValidateAddressInputThrowsHttpResponseExceptionWhenAddressInputIsInvalid()
        {
            MockController ctrl = new MockController();

            ctrl.RunTest("!@#$Q!#@$");
        }