@ -7088,10 +7087,10 @@ that class explicitly where it is required, as shown in the following example:
@@ -7088,10 +7087,10 @@ that class explicitly where it is required, as shown in the following example:
----
@SpringBootTest
@Import(MyTestsConfiguration.class)
public class MyTests {
class MyTests {
@Test
public void exampleTest() {
void exampleTest() {
...
}
@ -7345,7 +7344,7 @@ Strings respectively. Any helper fields on the test class can be `@Autowired` wh
@@ -7345,7 +7344,7 @@ Strings respectively. Any helper fields on the test class can be `@Autowired` wh
@ -7636,10 +7635,9 @@ following example:
@@ -7636,10 +7635,9 @@ following example:
[source,java,indent=0]
----
@RunWith(SpringRunner.class)
@DataJpaTest
@AutoConfigureTestDatabase(replace=Replace.NONE)
public class ExampleRepositoryTests {
class ExampleRepositoryTests {
// ...
@ -7765,7 +7763,7 @@ The following class shows the `@DataMongoTest` annotation in use:
@@ -7765,7 +7763,7 @@ The following class shows the `@DataMongoTest` annotation in use:
@ -7812,7 +7810,7 @@ The following example shows a typical setup for using Neo4J tests in Spring Boot
@@ -7812,7 +7810,7 @@ The following example shows a typical setup for using Neo4J tests in Spring Boot
@ -7861,7 +7859,7 @@ The following example shows the `@DataRedisTest` annotation in use:
@@ -7861,7 +7859,7 @@ The following example shows the `@DataRedisTest` annotation in use:
@ -7892,7 +7890,7 @@ The following example shows the `@DataLdapTest` annotation in use:
@@ -7892,7 +7890,7 @@ The following example shows the `@DataLdapTest` annotation in use:
@ -7935,7 +7933,7 @@ The specific beans that you want to test should be specified by using the `value
@@ -7935,7 +7933,7 @@ The specific beans that you want to test should be specified by using the `value
@ -7944,7 +7942,7 @@ The specific beans that you want to test should be specified by using the `value
@@ -7944,7 +7942,7 @@ The specific beans that you want to test should be specified by using the `value
private MockRestServiceServer server;
@Test
public void getVehicleDetailsWhenResultIsSuccessShouldReturnDetails()
@ -8099,10 +8097,9 @@ simply by adding `@ImportAutoConfiguration` to the test as shown in the followin
@@ -8099,10 +8097,9 @@ simply by adding `@ImportAutoConfiguration` to the test as shown in the followin