Geeks With Blogs
Boy Meets 'Hello World' Blogging the journey from College Grad to .NET Developer Design Posts that detail the thought process of designing my code.
On Testing Builder Objects
One of the common scenarios I find myself in is needing to be be able to mock an object instantiated during the lifecycle of another object. For example, a service object might need to, on receiving one message, create an entity, and on receiving another message, call some method on that entity. The easy way to do this is to make a builder as a service for the object needing construction, and mock out the builder object to return a mock. So, for that service-layer code I'm trying to test... 1: public ......

Posted On Saturday, June 7, 2008 8:00 AM

Encapsulating architecture from domain entities.
UPDATE (6/20/08): If you are at all confused about some of the techniques outlined in the blog posts by Udi and Ayende I discuss below, specifically about their multithreading-capabilities, you might want to check out my future post here. --- One of the first issues I have already found myself having to deal with in my game is the idea of how messages will be sent "from the entity" (since the entity is ultimately in charge of when something happens, and thus must trigger a message being sent), without ......

Posted On Wednesday, June 4, 2008 4:14 AM

Copyright © mhildreth | Powered by: GeeksWithBlogs.net