public void Should_Generate_Correct_Model_For_Case_2(string expected) { // Given, When var result = CommandModelSerializer.Serialize(config => { config.AddCommand <DogCommand>("dog"); }); // Then result.ShouldBe(expected); }
public void Should_Generate_Correct_Model_For_Case_4(string expected) { // Given, When var result = CommandModelSerializer.Serialize(config => { config.AddBranch <AnimalSettings>("animal", animal => { animal.AddCommand <DogCommand>("dog"); }); }); // Then result.ShouldBe(expected); }