Skip to content

Commit 8e0c491

Browse files
committed
Updated IVerifies.Verifiable method documentation code example
1 parent 95c4344 commit 8e0c491

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Moq/Language/IVerifies.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public interface IVerifies : IFluentInterface
2020
/// <example>
2121
/// The following example marks the expectation as verifiable:
2222
/// <code>
23-
/// mock.Expect(x => x.Execute("ping"))
23+
/// mock.Setup(x => x.Execute("ping"))
2424
/// .Returns(true)
2525
/// .Verifiable();
2626
/// </code>
@@ -35,7 +35,7 @@ public interface IVerifies : IFluentInterface
3535
/// <example>
3636
/// The following example marks the expectation as verifiable:
3737
/// <code>
38-
/// mock.Expect(x => x.Execute("ping"))
38+
/// mock.Setup(x => x.Execute("ping"))
3939
/// .Returns(true)
4040
/// .Verifiable("Ping should be executed always!");
4141
/// </code>

0 commit comments

Comments
 (0)