Example #1
0
        public void KeyboardButtonActionTypeTest()
        {
            // get test
            Assert.That(KeyboardButtonActionType.Text.ToString(), Is.EqualTo("text"));

            // parse test
            Assert.That(KeyboardButtonActionType.FromJsonString("text"), Is.EqualTo(KeyboardButtonActionType.Text));
        }
Example #2
0
        public void KeyboardButtonActionTypeTest()
        {
            // get test
            Assert.That(actual: KeyboardButtonActionType.Text.ToString(), expression: Is.EqualTo(expected: "text"));

            // parse test
            Assert.That(actual: KeyboardButtonActionType.FromJsonString(response: "text"), expression: Is.EqualTo(expected: KeyboardButtonActionType.Text));
        }