Dummy Resource

Dummy resource is a simple Java object that simulates real resource. There is also a ConnId connector for that. The dummy resource is fully embedded and it is using only local Java interfaces. It is designed for the sole purpose of being used in the tests.

The resource can be configured for variety of configurations: it can support activation or not to support it, it can be case sensitive or case ignore, it can use persistent identifiers or just usernames and so on. It can also simulate various errors. Therefore it is much easier and much more flexible to use the dummy resource in tests than a real resource.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.