public void NonExistingUserSetTimeshiftStoppedReasonTest()
    {
      ITvCardContext ctx = new TvCardContext();

      IUser u1 = new User("u1", false, 1);
      u1.SubChannel = 2;
      ctx.Add(u1);      

      User u2 = new User("u2", false, 2);
      ctx.SetTimeshiftStoppedReason(u2, TvStoppedReason.KickedByAdmin);
      ctx.Remove(u1);
      Assert.AreEqual(TvStoppedReason.UnknownReason, ctx.GetTimeshiftStoppedReason(u1), "tvstoppedreason the same");            
    }
    public void ExistingUserSetTimeshiftStoppedReasonTest()
    {
      ITvCardContext ctx = new TvCardContext();

      IUser u1 = new User("u1", false, 1);      
      ctx.Add(u1);      

      User u2 = new User("u1", false, 1);
      ctx.SetTimeshiftStoppedReason(u2,TvStoppedReason.KickedByAdmin);
      ctx.Remove(u1);
      Assert.AreEqual(TvStoppedReason.KickedByAdmin, ctx.GetTimeshiftStoppedReason(u2), "tvstoppedreason not the same");            
    }