public async Task BuilderFactory_ShouldCreateBuilder() { //ARRANGE var characters = await fixture.Context.Characters.ToListAsync(); var characterDtos = new List <BaseCharacterDto> { mapper.Map <BaseCharacterDto>(characters[1]) }; var factory = new SectionBuilderFactory(); //ACT var builder = factory.GetSectionBuilder(characters[0], characterDtos); //ASSERT Assert.NotNull(builder); Assert.IsAssignableFrom <ISectionBuilder>(builder); }