コード例 #1
0
        public void PasswordTest()
        {
            IDXEndpoint endpoint = DXEndpoint.Create();

            Assert.Catch(typeof(ArgumentNullException), () => {
                endpoint.Password(null);
            });
            Assert.Catch(typeof(ArgumentNullException), () => {
                endpoint.Password(string.Empty);
            });
            Assert.AreEqual(endpoint, endpoint.Password("test"));
        }