You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by Dmitry Kobyleha <dn...@ukr.net> on 2006/03/27 16:25:23 UTC

mock testing

Hi all,

I have read in futures list that MINA support unit testing with mock objects,
What kind of functionality can be tested with this? Are some examples present? 

Thanks


Re: mock testing

Posted by Trustin Lee <tr...@gmail.com>.
On 3/27/06, Dmitry Kobyleha <dn...@ukr.net> wrote:
>
> Hi all,
>
> I have read in futures list that MINA support unit testing with mock
> objects,
> What kind of functionality can be tested with this? Are some examples
> present?


There's no example yet.  But most constructs of MINA are interfaces so you
can implement a mock object which fits to your needs very easily.

HTH,
Trustin
--
what we call human nature is actually human habit
--
http://gleamynode.net/
--
PGP key fingerprints:
* E167 E6AF E73A CBCE EE41  4A29 544D DE48 FE95 4E7E
* B693 628E 6047 4F8F CFA4  455E 1C62 A7DC 0255 ECA6