April 05
Prof. Ismael H. F. Santos -
ismael@tecgraf.puc-rio.br
2
ClassPathXMLApplicationContext
n
Usually used with a standalone application to obtain a
context
n
Ex:
Swing application
n
Useful when performing integration testing
n
In-container testing.
n
Define a separate application context XML file that
contains mappings to your mock objects.