public async Task PaymentTypeER_TestGetPaymentType()
        {
            var paymentType = await PaymentTypeER.GetPaymentTypeER(1);

            Assert.NotNull(paymentType);
            Assert.IsType <PaymentTypeER>(paymentType);
        }
        public async Task PaymentTypeER_TestDeleteObjectFromDatabase()
        {
            const int ID_TO_DELETE = 99;

            await PaymentTypeER.DeletePaymentTypeER(ID_TO_DELETE);

            await Assert.ThrowsAsync <DataPortalException>(() => PaymentTypeER.GetPaymentTypeER(ID_TO_DELETE));
        }
        public async Task PaymentTypeER_TestUpdateExistingPaymentTypeER()
        {
            var paymentType = await PaymentTypeER.GetPaymentTypeER(1);

            paymentType.Notes = "These are updated Notes";

            var result = await paymentType.SaveAsync();

            Assert.NotNull(result);
            Assert.Equal("These are updated Notes", result.Notes);
        }