public void should_handle_delete_employee_command()
            {
                // Arrange
                var inputCommand =
                    new EmployeeDeleteCommand(anyEmployee.EmployeeId);

                EmployeeRepositoryMock
                .Setup(i => i.ReadAsync(It.IsAny <Guid>()))
                .ReturnsAsync(anyEmployee);

                // Act
                var result = EmployeeDeleteCommandHandlerUnderTest.Handle(inputCommand, default(CancellationToken)).Result;

                // Assert
                Assert.Equal(Unit.Value, result);
            }
            public void should_handle_create_employee_command()
            {
                // Arrange
                var inputCommand =
                    new EmployeeCreateCommand("joe", "bedford", "*****@*****.**");

                EmployeeRepositoryMock
                .Setup(i => i.CreateAsync(It.IsAny <Employee>()))
                .Returns(Task.CompletedTask);

                UnitOfWorkMock
                .Setup(i => i.CommitAsync(default(CancellationToken)))
                .ReturnsAsync(1);

                // Act
                var result = EmployeeCreateCommandHandlerUnderTest.Handle(inputCommand, default(CancellationToken)).Result;

                // Assert
                Assert.NotEqual(Guid.Empty, result.Id);
            }