.. _testkit-example:

########################
TestKit Example (Scala)
########################

Ray Roestenburg's example code from `his blog <http://roestenburg.agilesquad.com/2011/02/unit-testing-akka-actors-with-testkit_12.html>`_ adapted to work with Akka 2.x.

.. includecode:: code/docs/testkit/TestkitUsageSpec.scala#testkit-usage

