public void TestMovieTip()
 {
     BusinessLayer.MovieTip mt = new BusinessLayer.MovieTip("some tip", "yura", 53, 77);
     mt.commitTipToDB();
     Assert.IsTrue(mt.getCommentText() == "some tip");
 }
Ejemplo n.º 2
0
        public static void Main(string[] args)
        {
            MovieTip mt = new MovieTip("haha nice joke", "yura", 7, 47);

            mt.commitTipToDB();
        }