Missing imports in documentation on "Functional Tests with ScalaTest"

Dear all,
I am using play 2.8.6 and scalatestplus-play 5.1.0. My build.sbt looks like this:

libraryDependencies ++= Seq(
"org.postgresql" % "postgresql" % "42.1.0",
"org.apache.commons" % "commons-math3" % "3.3",
"com.typesafe.play" %% "play-slick" % "5.0.0",
"com.typesafe.play" %% "play-json" % "2.8.1",
"com.typesafe.slick" %% "slick-codegen" % "3.3.3",
"com.typesafe.slick" %% "slick-hikaricp" % "3.3.3",
"org.scalatestplus.play" %% "scalatestplus-play" % "5.1.0" % "test"

I wanted to follow the examples given in Scala Functional Testing With Scala Test - 2.8.x but I when I tried to run the most basic example, i.e.

class ExampleSpec extends PlaySpec with GuiceOneAppPerSuite {

  // Override fakeApplication if you need a Application with other than
  // default parameters.
  override def fakeApplication(): Application = {
    GuiceApplicationBuilder().configure(Map("ehcacheplugin" -> "disabled")).build()

  "The GuiceOneAppPerSuite trait" must {
    "provide an Application" in {
      app.configuration.getOptional[String]("ehcacheplugin") mustBe Some("disabled")

I got the following errors:

[error] /home/anton/Desktop/Klassentrenner/Backend/scala-backend/test/models/classModelTest.scala:14:41: not found: type GuiceOneAppPerSuite
[error] class ExampleSpec extends PlaySpec with GuiceOneAppPerSuite {
[error]                                         ^
[error] /home/anton/Desktop/Klassentrenner/Backend/scala-backend/test/models/classModelTest.scala:18:35: not found: type Application
[error]   override def fakeApplication(): Application = {
[error]                                   ^
[error] /home/anton/Desktop/Klassentrenner/Backend/scala-backend/test/models/classModelTest.scala:19:5: not found: value GuiceApplicationBuilder
[error]     GuiceApplicationBuilder().configure(Map("ehcacheplugin" -> "disabled")).build()
[error]     ^
[error] /home/anton/Desktop/Klassentrenner/Backend/scala-backend/test/models/classModelTest.scala:24:7: not found: value app
[error]       app.configuration.getOptional[String]("ehcacheplugin") mustBe Some("disabled")

I of course imported everything that was mentioned in the documentation, i.e.

import org.scalatest._
import org.scalatestplus.play._
import play.api.http.MimeTypes
import play.api.test._

but only through some googling and trial and error I found that I was missing the following imports:

import play.api.inject._
import org.scalatestplus.play.guice.GuiceOneAppPerSuite
import play.api._
import play.api.inject.guice._

Shouldn’t they be added to the docs? I was very confused when I couldn’t execute the most basic example while following exactly the steps of the docs.
Or did I do something else wrong which I am not seeing?