public void Create_NoLectureCreators_ThrowLectureCreatorNotFoundException()
        {
            _command.LectureType = "Article";

            Assert.That(() => _sut.Create(_command),
                        Throws.Exception.TypeOf <LectureCreatorNotFoundException>());
        }
        public void Create_LectureTypeIsVideo_CreateVideoLecture()
        {
            _command.LectureType = VideoLecture.Instance.Name;
            _sut = new LectureCreatorFactory(new List <ILectureCreator> {
                new VideoCreator(), new ArticleCreator()
            });

            var result = _sut.Create(_command);

            Assert.That(result, Is.TypeOf <Solen.Core.Domain.Courses.Entities.VideoLecture>());
        }