public void CanReadActions() { var model =TestModel( @" class A2 name2 prototype=ui-action class A1 name1 prototype=ui-action " ); var action = model.Actions["A1"]; var generator = new AppActionWriter().Setup(action); Assert.NotNull(action); Assert.IsNotEmpty(generator.ToString()); }
public void CanReadActions() { var model = TestModel( @" class A2 name2 prototype=ui-action class A1 name1 prototype=ui-action " ); var action = model.Actions["A1"]; var generator = new AppActionWriter().Setup(action); Assert.NotNull(action); Assert.IsNotEmpty(generator.ToString()); }