Exemplo n.º 1
0
        public void TestSearch(string Search_criteria, int Page_Number, int Page_size)
        {
            //Arange
            var Controller = new MusicBackend.Controllers.ArtistsController();

            //Act
            var Result = Controller.Search(Search_criteria, Page_Number, Page_size);

            //Assert
            NUnit.Framework.Assert.That(Result != null);
        }
Exemplo n.º 2
0
        public void TestReleases(string artist_id, string TestResult)
        {
            //Arange
            var Controller = new MusicBackend.Controllers.ArtistsController();

            //Act
            var Result = Controller.Releases(artist_id);

            //Assert
            //NUnit.Framework.Assert.That(Result == TestResult);
            NUnit.Framework.Assert.That(Result != null);
        }