public async Task Handle_deve_persistir_um_perfil_com_sucesso() { var command = TestBuilder.AtualizarPerfilRequestOk(); _uow.Setup(u => u.Commit()).ReturnsAsync(CommandResponse.Ok); var cancelToken = new System.Threading.CancellationToken(); //act var result = await _handler.Handle(command, cancelToken); //assert result.Success.Should().BeTrue(); }