Hi Sajini,

I think best way to automate is to write an integration test for this. You
need to make sure class mediator works on ESB runtime without any problem.

Can you please explain the steps you manually followed to verify the
mediator. Synapse config would be helpful.

Thanks,
Krishantha.


On Mon, Jun 9, 2014 at 4:38 PM, Sajini De Silva <[email protected]> wrote:

> Adding Krishantha to the thread.
>
>
> On Mon, Jun 9, 2014 at 3:45 PM, Sajini De Silva <[email protected]> wrote:
>
>> Hi,
>>
>> In my class mediator I access the ESB registry and read a file in the
>> registry. Is there a way to conduct a unit test on the mediate method of
>> this class mediator?
>>
>> Thank you,
>> Sajini.
>> --
>> Sajini De SIlva
>> Software Engineer; WSO2 Inc.; http://wso2.com ,
>> Email: [email protected]
>> Blog: http://sajinid.blogspot.com/
>> Git hub profile: https://github.com/sajinidesilva
>>
>>
>
>
> --
> Sajini De SIlva
> Software Engineer; WSO2 Inc.; http://wso2.com ,
> Email: [email protected]
> Blog: http://sajinid.blogspot.com/
> Git hub profile: https://github.com/sajinidesilva
>
>


-- 
Krishantha Samaraweera
Senior Technical Lead - Test Automation
Mobile: +94 77 7759918
WSO2, Inc.; http://wso2.com/
lean . enterprise . middlewear.
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to