mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-04-20 07:21:21 +02:00
Expose scenario states (#168)
* Scenarios (WIP) * Update ToJson and StatefulBehaviorTests * fix tests * Update comment
This commit is contained in:
28
src/WireMock.Net/ScenarioState.cs
Normal file
28
src/WireMock.Net/ScenarioState.cs
Normal file
@@ -0,0 +1,28 @@
|
||||
namespace WireMock
|
||||
{
|
||||
/// <summary>
|
||||
/// The ScenarioState
|
||||
/// </summary>
|
||||
public class ScenarioState
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets or sets the Name (from the Scenario).
|
||||
/// </summary>
|
||||
public string Name { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the NextState.
|
||||
/// </summary>
|
||||
public string NextState { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a value indicating whether this <see cref="ScenarioState"/> is started.
|
||||
/// </summary>
|
||||
public bool Started { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a value indicating whether this <see cref="ScenarioState"/> is finished.
|
||||
/// </summary>
|
||||
public bool Finished { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user