sai rama krishna wrote:Since PaymentAdapter class has static method parsePaymentInformatin getting called directly on class name without autowire not sure if i can use Mock for PaymentAdapter
Why do you want to mock it in the first place?
sai rama krishna wrote:
Every time I see such variables names (in this case parameters), I freak out. What is the rationale behind naming
pmtSt and not
payment then
pmtType and not
paymentType?
PmtSt type is also cryptic which very likely makes all code cryptic.