An example of this is the 'Engine' where scenarios and use cases are built using mutable state, because the DSL reads better
Another is the ThingDsl in ThingDslSpec
The methods are protected so that they are only availble from within a class extending this. They can of course be exposed: see SimpleMutableHierarchyBuilder
An example of this is the 'Engine' where scenarios and use cases are built using mutable state, because the DSL reads better
Another is the ThingDsl in ThingDslSpec
The methods are protected so that they are only availble from within a class extending this. They can of course be exposed: see SimpleMutableHierarchyBuilder