Core objects should be interfaces
Status: Beta
Brought to you by:
huston
Some of the key objects for the system really should be
defined as interfaces, with separate implementations. At
a minimum, Session, Channel, and Message.
As it is, I'm finding it very difficult to write unit tests for
my profiles, since I can't make mock objects to pass in
as test fixtures.
Logged In: YES
user_id=164167
Agreed! I have already started converting some of the objects.