Using the spring framework in unit testing