Re: Fixture Scripts - Invoking WrapperFactory.wrap() in actions

2015-05-10 Thread GESCONSULTOR - Óscar Bou
Hi Dan. I’m not sure how to use the SudoService inside a FixtureScript. I have the following: public class DemoWithAllRecordsFixture extends FixtureScript { public DemoWithAllRecordsFixture() { this.withDiscoverability(Discoverability.DISCOVERABLE); } @Override

Re: Fixture Scripts - Invoking WrapperFactory.wrap() in actions

2015-04-18 Thread GESCONSULTOR
Many thanks, Dan. I'll try it! El 18/4/2015, a las 12:26, Dan Haywood d...@haywood-associates.co.uk escribió: Hi Oscar, I hit this same issue a couple of weeks ago while refactoring our example todoapp, which led me to inventing the SudoService. Not yet documented, but you can see

Fixture Scripts - Invoking WrapperFactory.wrap() in actions

2015-04-18 Thread QUALITEC - Óscar Bou
Hi all. I have a FixtureScript that invokes some factory methods that include setters that are invoking by wrapping the domain object (for ensuring that the validateXXX, modifyXXX, etc. methods are also invoked). public class TwentyPercentForTwoOrdersCoupon extends FixtureScript {