public async Task NoDiscAddDiscussionTopicTest() { bool result; RelatedDataSet dataSetA = new RelatedDataSet("JimmyJimerson", "ab10101010", "Theory"); using (var context = new Repository.Models.Cinephiliacs_DbContext(dbOptions)) { context.Database.EnsureDeleted(); context.Database.EnsureCreated(); RepoLogic repoLogic = new RepoLogic(context); // Test AddDiscussionTopic() without Discussion dependency result = await repoLogic.AddDiscussionTopic(dataSetA.DiscussionTopic.DiscussionId, dataSetA.DiscussionTopic.TopicName); } Assert.False(result); }