Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

import static org.assertj.core.api.Assertions.assertThat;

// class {
public class RedisBackedCacheIntTest {

private RedisBackedCache underTest;
Expand Down Expand Up @@ -36,3 +37,4 @@ public void testSimplePutAndGet() {
assertThat(retrieved).isEqualTo("example");
}
}
// }
2 changes: 1 addition & 1 deletion docs/quickstart/junit_4_quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,6 @@ That's it!
Let's look at our complete test class to see how little we had to add to get up and running with Testcontainers:

<!--codeinclude-->
[RedisBackedCacheIntTest](../examples/junit4/redis/src/test/java/quickstart/RedisBackedCacheIntTest.java) block:RedisBackedCacheIntTest
[RedisBackedCacheIntTest](../examples/junit4/redis/src/test/java/quickstart/RedisBackedCacheIntTest.java) inside_block:class
<!--/codeinclude-->