@@ -3116,7 +3116,7 @@ bean by name there (as shown above, assuming that "myDataSource" is the bean id)
31163116[[testcontext-web-scoped-beans]]
31173117==== Testing request and session scoped beans
31183118
3119- <<beans-factory-scopes-other,Request and session scoped beans>> have been supported by
3119+ <<core# beans-factory-scopes-other,Request and session scoped beans>> have been supported by
31203120Spring since the early years, and since Spring 3.2 it's a breeze to test your
31213121request-scoped and session-scoped beans by following these steps.
31223122
@@ -3368,7 +3368,7 @@ javadocs for `TestTransaction` for further details.
33683368 @ContextConfiguration(classes = TestConfig.class)
33693369 public class ProgrammaticTransactionManagementTests extends
33703370 AbstractTransactionalJUnit4SpringContextTests {
3371-
3371+
33723372 @Test
33733373 public void transactionalTest() {
33743374 // assert initial state in test database:
@@ -3601,7 +3601,7 @@ scripts against a `DataSource`.
36013601 public void databaseTest {
36023602 ResourceDatabasePopulator populator = new ResourceDatabasePopulator();
36033603 populator.addScripts(
3604- new ClassPathResource("test-schema.sql"),
3604+ new ClassPathResource("test-schema.sql"),
36053605 new ClassPathResource("test-data.sql"));
36063606 populator.setSeparator("@@");
36073607 populator.execute(this.dataSource);
@@ -4317,10 +4317,10 @@ request that will be discussed below.
43174317===== Static Imports
43184318
43194319The fluent API in the example above requires a few static imports such as
4320- `MockMvcRequestBuilders.{asterisk}`, `MockMvcResultMatchers.{asterisk}`,
4320+ `MockMvcRequestBuilders.{asterisk}`, `MockMvcResultMatchers.{asterisk}`,
43214321and `MockMvcBuilders.{asterisk}`. An easy way to find these classes is to search for
4322- types matching __"MockMvc*"__. If using Eclipse, be sure to add them as
4323- "favorite static members" in the Eclipse preferences under
4322+ types matching __"MockMvc*"__. If using Eclipse, be sure to add them as
4323+ "favorite static members" in the Eclipse preferences under
43244324__Java -> Editor -> Content Assist -> Favorites__. That will allow use of content
43254325assist after typing the first character of the static method name. Other IDEs (e.g.
43264326IntelliJ) may not require any additional configuration. Just check the support for code
0 commit comments