public void HasLearningDeliveryFAMCodeForType_True() { var learningDeliveryFAMs = new TestLearningDeliveryFAM[] { new TestLearningDeliveryFAM() { LearnDelFAMType = "TypeOne", LearnDelFAMCode = "CodeOne" }, new TestLearningDeliveryFAM() { LearnDelFAMType = "TypeTwo", LearnDelFAMCode = "CodeTwo" }, }; var queryService = new LearningDeliveryFAMQueryService(); queryService.HasLearningDeliveryFAMCodeForType(learningDeliveryFAMs, "TypeTwo", "CodeTwo").Should().BeTrue(); }
public void HasLearningDeliveryFAMCodeForType_FalseNull() { var queryService = new LearningDeliveryFAMQueryService(); queryService.HasLearningDeliveryFAMCodeForType(null, "TypeTwo", "CodeTwo").Should().BeFalse(); }