What should be done is to first create some methods on ComposableModel like instantiateListModel, instantiateTextModel, etc so you hide at maximum the implementation details, and then you can do a more generic "self instantiate: MethodBrowser."

The first version of Spec was like this:
listModel  := self instantiate: ListComposableModel.
methodModel := self instantiate: MethodBrowser.

But then you find out there is always the same pattern, so Johan and I decided to introduce a way to encapsulate this.

Then of course, do whatever you want :P

Ben

On Sep 21, 2013, at 7:29 PM, Camillo Bruni <camillobruni@gmail.com> wrote:

Can I rewrite all spec examples from

self instantiateModels: #(
listModel ListComposableModel
methodModel MethodBrowser ).

to the more explicit form:

listModel  := self instantiate: ListComposableModel.
methodModel := self instantiate: MethodBrowser.