private void gemB_Click(object sender, RoutedEventArgs e)
        {
            int value;

            if (int.TryParse(intervalTB.Text, out value))
            {
                _reminderControl.IntervalSet(Convert.ToInt32(intervalTB.Text));
                MessageBox.Show("Nyt interval gemt!");
            }
            else
            {
                MessageBox.Show("Indtast venligst et heltal!");
            }
        }
 public void SaveInterval_IntervalSetIsCalled_RecievesOne(int a)
 {
     uut.IntervalSet(a);
     _saveDatabase.Received(1).SaveInterval(a);
 }