mocking - Autofixture Freeze array of interfaces for Command Pattern -
mocking - Autofixture Freeze array of interfaces for Command Pattern -
i'm using autofixture autorhinomockcustomization. have constructor takes instances of icommand it's this
public class myclass { public myclass(icommand[] mycommands) { } }
this implement command pattern, i'll loop through instances , utilize ones meet criteria. can't figure out how freeze injected items. right looks like, move on, i'll have sort of work around autofixture , utilize create test info objects.
if know how though, helpful.
mocking autofixture command-pattern
Comments
Post a Comment