Exemplo n.º 1
0
 public void ToFormattedJson_GivenScenario_OverridesScenario()
 {
     ScenarioCatcher result = new ScenarioCatcher();
     result.ToFormattedJson(scenario: "foo");
     result.Scenario.ShouldBe("foo");
 }
Exemplo n.º 2
0
 public void ToFormattedJson_DefaultsToSerializeJsonScenario()
 {
     ScenarioCatcher result = new ScenarioCatcher();
     result.ToFormattedJson();
     result.Scenario.ShouldBe(SerializationScenario.SerializeToJson);
 }