コード例 #1
0
        public async Task EtpConnectionTest_CanConnect_Invalid_Endpoint()
        {
            var etpConnectionTest = new EtpConnectionTest(_runtime);
            var result            = await etpConnectionTest.CanConnect(new Connection()
            {
                Uri = _validEtpUri + "x"
            });

            Assert.IsFalse(result);
        }
コード例 #2
0
        public async Task EtpConnectionTest_CanConnect_Invalid_BadFormat()
        {
            var etpConnectionTest = new EtpConnectionTest(_runtime);
            var result            = await etpConnectionTest.CanConnect(new Connection()
            {
                Uri = "xxxxxxxx"
            });

            Assert.IsFalse(result);
        }