.. _testkit-example:

########################
TestKit Example
########################

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

