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

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -