public void Test_GetGameByKey_Key_Is_Null() { //arrange GameService servise = new GameService(_unitOfWork.Object, null); //act servise.GetGameByKey(null); }
public void Test_GetGameByKey_Return_Right_Object() { //arrange GameService servise = new GameService(_unitOfWork.Object, null); //act GameDTO game = servise.GetGameByKey("me3"); //assert Assert.IsTrue(game.GameId == 1); }
public void Test_GetGameByKey_Game_Is_Not_Null() { //arrange GameService servise = new GameService(_unitOfWork.Object, null); //act GameDTO game = servise.GetGameByKey("me3"); //asset Assert.IsNotNull(game); }