would it be better to construct a higher level wrapper for your business 
functions and mock those? the UO libraries are quite low level: its a bit like 
mocking ado.net rather than your db calls.  

I expose all the business logic through server side subroutines, all using 
standardized calling conventions, then they can easily be simulated and also I 
can use server side unit tests.


Sent from my iPad

On 13 Aug 2012, at 19:32, "Ravindranath Wickramanayake" <[email protected]> 
wrote:

> Hi
> 
> 
> 
> Does anybody know how to mock UniSession via .NET? or is there a
> interface for UniSession like IUniSession so it could be easily
> mockable? 
> 
> 
> 
> Your Help is very much appreciated
> 
> 
> 
> Thanks
> 
> Ravi
> 
> _______________________________________________
> U2-Users mailing list
> [email protected]
> http://listserver.u2ug.org/mailman/listinfo/u2-users
_______________________________________________
U2-Users mailing list
[email protected]
http://listserver.u2ug.org/mailman/listinfo/u2-users

Reply via email to