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

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

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

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