public void getgenre_should_thrown_exception_with_null_id()
        {
            var repository = new GenreRepository(_catalogDataContextFactory.ContextInstance);

            var sut = new GetGenreHandler(repository);

            sut.Handle(null, CancellationToken.None).ShouldThrow <ArgumentNullException>();
        }
        public async Task getgenre_should_return_right_genre(string id)
        {
            var repository = new GenreRepository(_catalogDataContextFactory.ContextInstance);

            var sut = new GetGenreHandler(repository);

            var result = await sut.Handle(new GetGenreCommand { Id = new Guid(id) }, CancellationToken.None);

            result.ShouldNotBeNull();
        }