Esempio n. 1
0
 private List <TDomain> GenerateListOfDomains()
 {
     return(new List <TDomain>
     {
         RepositoryTestCase.GenerateTestCaseMember(),
         RepositoryTestCase.GenerateTestCaseMember(),
         RepositoryTestCase.GenerateTestCaseMember()
     });
 }
Esempio n. 2
0
        protected async Task CrudAsyncTestCase()
        {
            var expectedDomain = RepositoryTestCase.GenerateTestCaseMember();
            var insertedDomain = await AssertInsertedDomainAsync(expectedDomain).ConfigureAwait(false);

            var updatedDomain = await AssertUpdatedDomainAsync(insertedDomain).ConfigureAwait(false);

            await AssertRemoveDomainAsync(updatedDomain).ConfigureAwait(false);
        }