public async Task CreateAsync_FilmValidationSucceed_CreatesLoyaltyCard() { // Arrange var film = new FilmUpdateModel(); var expected = new Film(); var filmDAL = new Mock <IFilmDAL>(); filmDAL.Setup(x => x.InsertAsync(film)).ReturnsAsync(expected); var filmService = new FilmService(filmDAL.Object); // Act var result = await filmService.CreateAsync(film); // Assert result.Should().Be(expected); }