Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

http://www.mkyong.com/webservices/jax-ws/suncertpathbuilderexception-unable-to-find-valid-certification-path-to-requested-target/

 

3. If you are going to test a protected method, which is not declared in 'service' interface,  in 'impl' class, then you can get bean like following to use "TestUtils.getUnproxiedService" : 

   pdpExtractService = (PdpExtractServiceImpl)TestUtils.getUnproxiedService("pdpExtractService");

 

  Then test method 'updatePaymentRequest' which is a protected method in 'impl' class like following:

   pdpExtractService.updatePaymentRequest(paymentRequestDocument, puser, new Date());

 

  This example is in 'PdpExtractServiceImplTest'.