public async Task Put_TransactionType_The_Guid_is_empty()
        {
            TransactionType transactionType = new TransactionType
            {
                Id   = Guid.Empty,
                Name = "oxx"
            };

            var service = new TransactionTypeService(_httpClient);
            var result  = await service.PutTransactionType(requestUri, transactionType);

            if (result.Status == HttpStatusCode.OK)
            {
                Assert.True(result.Status == HttpStatusCode.OK, "OK");
            }
            else
            {
                List <string> listError = new List <string>();
                foreach (string error in result.Data)
                {
                    listError.Add(error);
                }
                Assert.Collection(listError,
                                  item => Assert.Equal("The Name is Required", item),
                                  item => Assert.Equal("The Name must have between 2 and 30 characters", item),
                                  item => Assert.Equal("The Guid is empty", item),
                                  item => Assert.Equal("The Guid is invalid and contains 00000000", item),
                                  item => Assert.Equal("The transaction type name has already been taken.", item)
                                  );
            }
        }
        public async Task Put_TransactionType_Valido()
        {
            Guid guid = new Guid("5E210F4F-D12B-4F85-8464-6F8740920FAA");

            TransactionType transactionType = new TransactionType
            {
                Id   = guid,
                Name = "ALTERADO..."
            };

            var service = new TransactionTypeService(_httpClient);
            var result  = await service.PutTransactionType(requestUri, transactionType);

            if (result.Status == HttpStatusCode.OK)
            {
                Assert.True(result.Status == HttpStatusCode.OK, "OK");
            }
            else
            {
                List <string> listError = new List <string>();
                foreach (string error in result.Data)
                {
                    listError.Add(error);
                }
                Assert.Collection(listError,
                                  item => Assert.Equal("The Name is Required", item),
                                  item => Assert.Equal("The Name must have between 2 and 30 characters", item),
                                  item => Assert.Equal("The Guid is empty", item),
                                  item => Assert.Equal("The Guid is invalid and contains 00000000", item),
                                  item => Assert.Equal("The transaction type name has already been taken.", item)
                                  );
            }
        }
        public async Task Put_TransactionType_The_Name_must_have_between_2_and_30_characters()
        {
            Guid guid = new Guid("1BF784F8-7B94-47EC-9FD9-5257D83E8E7D");

            TransactionType transactionType = new TransactionType
            {
                Id   = guid,
                Name = "o"
            };

            var service = new TransactionTypeService(_httpClient);
            var result  = await service.PutTransactionType(requestUri, transactionType);

            if (result.Status == HttpStatusCode.OK)
            {
                Assert.True(result.Status == HttpStatusCode.OK, "OK");
            }
            else
            {
                List <string> listError = new List <string>();
                foreach (string error in result.Data)
                {
                    listError.Add(error);
                }
                Assert.Collection(listError,
                                  item => Assert.Equal("The Name is Required", item),
                                  item => Assert.Equal("The Name must have between 2 and 30 characters", item),
                                  item => Assert.Equal("The Guid is empty", item),
                                  item => Assert.Equal("The Guid is invalid and contains 00000000", item),
                                  item => Assert.Equal("The transaction type name has already been taken.", item)
                                  );
            }
        }