public void Test_Toast_Xml_SelectionBoxItem_EmptyContent()
        {
            var selectionBoxItem = new ToastSelectionBoxItem("myId", "");

            AssertSelectionPayload("<selection id='myId' content='' />", selectionBoxItem);
        }
        public void Test_Toast_Xml_SelectionBoxItem_EmptyId()
        {
            var selectionBoxItem = new ToastSelectionBoxItem("", "My content");

            AssertSelectionPayload("<selection id='' content='My content' />", selectionBoxItem);
        }
 private static void AssertSelectionPayload(string expectedSelectionXml, ToastSelectionBoxItem selectionItem)
 {
     AssertInputPayload("<input id='myId' type='selection'>" + expectedSelectionXml + "</input>", new ToastSelectionBox("myId")
     {
         Items = { selectionItem }
     });
 }