public void TestGetQuestionByID() { QuestionRepository questionRepo = new QuestionRepository(DatabaseDummy.DatabaseDummyCreate("TestGetQuestionByID")); try { var question = questionRepo.GetByID(10); Assert.True(true); } catch { Assert.True(false); } }
public void GetById_WillReturn_Records() { Assert.True(_db.GetByID(1).QuestionId == 1); }