On 11/29/05, Hugo Ahlenius <[EMAIL PROTECTED]> wrote:
> But the public methods are the DAO's interface, right - and you would be
> polluting that with the multiple methods that make up each of the
> C/R/U/D methods (which should basically be the only public interface).

No, they'd remain private. You'd use a mock to extend the DAO and
re-expose the private methods as public in order to test them
independently. See Rob Blackburn's excellent documentation for
examples of how to do that:

http://cfunit.sourceforge.net/help-privatemethod.php
--
Sean A Corfield -- http://corfield.org/
Got frameworks?

"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood


----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to 
[email protected] with the words 'unsubscribe cfcdev' as the subject of the 
email.

CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting 
(www.cfxhosting.com).

An archive of the CFCDev list is available at 
www.mail-archive.com/[email protected]


Reply via email to