public void ToastService_RemoveToast_should_handle_not_existing_id() { _toastService.ShowToast(new ToastSettings()); _toastService.ShowToast(new ToastSettings()); var id = _toastService.ShowToast(new ToastSettings()); _toastService.RemoveToast(Guid.NewGuid()); Assert.IsNotNull(_toastService.Toasts); Assert.AreEqual(3, _toastService.AllToasts.Count()); Assert.AreEqual(3, _toastService.Toasts.Count()); Assert.AreEqual(false, _toastService.Toasts.First().IsRemove); Assert.AreEqual(false, _toastService.Toasts.Last().IsRemove); }