AllReady.UnitTest.Areas.Admin.Features.Organizations.DeleteOrganizationHandlerShould.DeleteTheOrganization C# (CSharp) Method

DeleteTheOrganization() private method

private DeleteTheOrganization ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task
        public async Task DeleteTheOrganization()
        {
            var command = new DeleteOrganization { Id = 1 };

            var handler = new DeleteOrganizationHandler(Context);
            await handler.Handle(command);

            Assert.False(Context.Organizations.Any(x => x.Id == command.Id));
        }
DeleteOrganizationHandlerShould