public async Task ExecuteAsync_WhenCalled_AssertToDomainWasCalledOnCommand()
        {
            CommandHandler sut = CreateSut();

            Mock <ICreateCountryCommand> commandMock = CreateCommandMock();
            await sut.ExecuteAsync(commandMock.Object);

            commandMock.Verify(m => m.ToDomain(), Times.Once);
        }
        public async Task ExecuteAsync_WhenCalled_AssertCreateCountryAsyncWasCalledOnContactRepository()
        {
            CommandHandler sut = CreateSut();

            ICountry country = _fixture.BuildCountryMock().Object;
            ICreateCountryCommand command = CreateCommandMock(country).Object;
            await sut.ExecuteAsync(command);

            _contactRepositoryMock.Verify(m => m.CreateCountryAsync(It.Is <ICountry>(value => value == country)), Times.Once);
        }