|
|
@ -75,9 +75,12 @@ If you had created a data seed contributor as described in the [first part](Part
|
|
|
|
Add a new test class, named `BookAppService_Tests` in the `Books` namespace (folder) of the `Acme.BookStore.Application.Tests` project:
|
|
|
|
Add a new test class, named `BookAppService_Tests` in the `Books` namespace (folder) of the `Acme.BookStore.Application.Tests` project:
|
|
|
|
|
|
|
|
|
|
|
|
````csharp
|
|
|
|
````csharp
|
|
|
|
|
|
|
|
using System;
|
|
|
|
|
|
|
|
using System.Linq;
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
using Shouldly;
|
|
|
|
using Shouldly;
|
|
|
|
using Volo.Abp.Application.Dtos;
|
|
|
|
using Volo.Abp.Application.Dtos;
|
|
|
|
|
|
|
|
using Volo.Abp.Validation;
|
|
|
|
using Xunit;
|
|
|
|
using Xunit;
|
|
|
|
|
|
|
|
|
|
|
|
namespace Acme.BookStore.Books
|
|
|
|
namespace Acme.BookStore.Books
|
|
|
|