public void Test_Toast_Xml_ButtonSnooze_SelectionId() { ToastButtonSnooze button = new ToastButtonSnooze() { SelectionBoxId = "snoozeId" }; AssertButtonPayload("<action activationType='system' arguments='snooze' content='' hint-inputId='snoozeId'/>", button); }
public void Test_Toast_Xml_ButtonSnooze_CustomContent() { ToastButtonSnooze button = new ToastButtonSnooze("my snooze"); AssertButtonPayload("<action activationType='system' arguments='snooze' content='my snooze'/>", button); }
public void Test_Toast_Xml_ButtonSnooze_Defaults() { ToastButtonSnooze button = new ToastButtonSnooze(); AssertButtonPayload("<action activationType='system' arguments='snooze' content=''/>", button); }