concept this listing in category java
appears as: this listing,
This listing

This is an excerpt from Manning's book JUnit in Action.
Without further ado, this listing shows what the simple Calculator test looks like when written with JUnit.
In this listing:
In this listing, George creates the COUNTRY table with three fields: ID (identity field), NAME and CODE_NAME (VARCHAR type).
Listing 19.10 application-context.xml file
<jdbc:embedded-database id="dataSource" type="H2"> #1 <jdbc:script location="classpath:db-schema.sql"/> #1 </jdbc:embedded-database> #1 <bean id="countryDao" #2 class="com.manning.junitbook.databases.dao.CountryDao"> #2 <property name="dataSource" ref="dataSource"/> #2 </bean> #2 <bean id="countriesLoader" #3 class="com.manning.junitbook.databases.CountriesLoader"> #3 <property name="dataSource" ref="dataSource"/> #3 </bean> #3In this listing, George instructs the Spring container to create three beans: