|
|
@ -1172,7 +1172,7 @@ public class ExtendedTest extends BaseTest { |
|
|
|
|
|
|
|
|
|
|
|
<para>Consider the scenario of testing a |
|
|
|
<para>Consider the scenario of testing a |
|
|
|
<classname>HibernateTitleRepository</classname> class, as outlined in the <link |
|
|
|
<classname>HibernateTitleRepository</classname> class, as outlined in the <link |
|
|
|
linkend="testing-fixture-di">Goals</link> section. The next four |
|
|
|
linkend="integration-testing-goals">Goals</link> section. The next four |
|
|
|
code listings demonstrate the use of <interfacename>@Autowired</interfacename> |
|
|
|
code listings demonstrate the use of <interfacename>@Autowired</interfacename> |
|
|
|
and <interfacename>@Resource</interfacename> on fields and |
|
|
|
and <interfacename>@Resource</interfacename> on fields and |
|
|
|
setter methods. The application context configuration is presented |
|
|
|
setter methods. The application context configuration is presented |
|
|
@ -1937,8 +1937,11 @@ public class HibernateClinicTests extends AbstractClinicTests { } |
|
|
|
</listitem> |
|
|
|
</listitem> |
|
|
|
|
|
|
|
|
|
|
|
<listitem> |
|
|
|
<listitem> |
|
|
|
<para><ulink url="http://www.easymock.org/">EasyMock</ulink>: Used |
|
|
|
<para><ulink url="http://www.easymock.org/">EasyMock</ulink>: |
|
|
|
by the Spring Framework in its test suite.</para> |
|
|
|
Java library <quote><emphasis>that provides Mock Objects for interfaces |
|
|
|
|
|
|
|
(and objects through the class extension) by generating them |
|
|
|
|
|
|
|
on the fly using Java's proxy mechanism.</emphasis></quote> |
|
|
|
|
|
|
|
Used by the Spring Framework in its test suite.</para> |
|
|
|
</listitem> |
|
|
|
</listitem> |
|
|
|
|
|
|
|
|
|
|
|
<listitem> |
|
|
|
<listitem> |
|
|
|