Dependency injection and unit test -


it wonderful when domain class want test depends upon stateless objects, can use dependency inject tricks can test function on class. if objects upon domain class depends stateful? can still employ dependency inject technique in case? mean "stateful object" object state initialized through constructor. can still use di container initialization?


Comments

Popular posts from this blog

Python Kivy ListView: How to delete selected ListItemButton? -

asp.net mvc 4 - A specified Include path is not valid. The EntityType '' does not declare a navigation property with the name '' -