Esempio n. 1
0
        public void O365ConnectorCardInputBaseInitsWithNoArgs()
        {
            var inputBase = new O365ConnectorCardInputBase();

            Assert.NotNull(inputBase);
            Assert.IsType <O365ConnectorCardInputBase>(inputBase);
        }
Esempio n. 2
0
        public void O365ConnectorCardInputBaseInits()
        {
            var type       = "textInput";
            var id         = "firstName";
            var isRequired = true;
            var title      = "Profile";
            var value      = "First Name";

            var inputBase = new O365ConnectorCardInputBase(type, id, isRequired, title, value);

            Assert.NotNull(inputBase);
            Assert.IsType <O365ConnectorCardInputBase>(inputBase);
            Assert.Equal(type, inputBase.Type);
            Assert.Equal(id, inputBase.Id);
            Assert.Equal(isRequired, inputBase.IsRequired);
            Assert.Equal(title, inputBase.Title);
            Assert.Equal(value, inputBase.Value);
        }