Пример #1
0
        public void can_get_descriptor()
        {
            var descriptor = _passwordParam.GetDescriptor();

            ((string)descriptor.name).ShouldBe("pwd");
            ((string)descriptor.type).ShouldBe("password");
            ((string)descriptor.@default).ShouldBe(null);
        }