Ejemplo n.º 1
0
 public void ToJson_GivenScenario_OverridesScenario()
 {
     ScenarioCatcher result = new ScenarioCatcher();
     result.ToJson(scenario: "foo");
     result.Scenario.ShouldBe("foo");
 }
Ejemplo n.º 2
0
 public void ToJson_DefaultsToSerializeJsonScenario()
 {
     ScenarioCatcher result = new ScenarioCatcher();
     result.ToJson();
     result.Scenario.ShouldBe(SerializationScenario.SerializeToJson);
 }