Testing is an integral part of enterprise software development. This chapter focuses on the value-add of the IoC principle to unit testing and on the benefits of Spring Framework integration testing. (A thorough treatment of testing in the enterprise is beyond the scope of this chapter.)