Skip to content

Commit 7bebea4

Browse files
committed
Polishing
1 parent 6e73ea6 commit 7bebea4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

documentation/src/docs/asciidoc/user-guide/extensions.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ would annotate the test method as follows.
3131
----
3232
@ExtendWith(RandomParametersExtension.class)
3333
@Test
34-
void mockTest() {
34+
void test(@Random int i) {
3535
// ...
3636
}
3737
----
@@ -42,7 +42,7 @@ subclasses, you would annotate the test class as follows.
4242
[source,java,indent=0]
4343
----
4444
@ExtendWith(RandomParametersExtension.class)
45-
class MockTests {
45+
class MyTests {
4646
// ...
4747
}
4848
----
@@ -52,7 +52,7 @@ Multiple extensions can be registered together like this:
5252
[source,java,indent=0]
5353
----
5454
@ExtendWith({ FooExtension.class, BarExtension.class })
55-
class MyTestsV1 {
55+
class MyTests {
5656
// ...
5757
}
5858
----
@@ -63,7 +63,7 @@ As an alternative, multiple extensions can be registered separately like this:
6363
----
6464
@ExtendWith(FooExtension.class)
6565
@ExtendWith(BarExtension.class)
66-
class MyTestsV2 {
66+
class MyTests {
6767
// ...
6868
}
6969
----

0 commit comments

Comments
 (0)