Created JUnit test case PaymentValidatorTest.