Skip to content

Commit 8ad8d7c

Browse files
Update tutorial-2.md (#6736)
Make clear how we create the test probe in an xunit test
1 parent 8f13c74 commit 8ad8d7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/articles/intro/getting-started/tutorial-2.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ Putting read and write protocol together, the device actor will look like this:
180180
[!code-csharp[Main](../../../../src/core/Akka.Docs.Tutorials/Tutorial2/Device.cs?name=full-device)]
181181

182182
We are also responsible for writing a new test case now, exercising both the read/query and write/record functionality
183-
together:
183+
together. Note, that your test class should implement Akka.TestKit.XUnit2.TestKit in order to access CreateTestProbe().
184184

185185
[!code-csharp[Main](../../../../src/core/Akka.Docs.Tutorials/Tutorial2/DeviceSpec.cs?name=device-write-read-test)]
186186

0 commit comments

Comments
 (0)