资 源 简 介
Description
The DummyCreator is a library, which provides a possibility to automatically
create dummy-objects. Those dummy objects are created with all of their
attributes set. So you can use them as a helper while testing your application.
For example, if you want to test a class, which processes data from a database,
you might want to use random instances instead of data from the real database
(which might not be ready yet or something like that). Now you could write a
method for each class to create such a dummy instance.
How to use
If you want to use the DummyCreator, you just have to integrate the jar-file to
your project. Afterwards you can call it by:
DummyCreator.createDummyOfClass(The class you need)
There are several possibilities to take influence on the creation-process
Register Interfaces
Normally you would often use a interface instead of the real class if you define
an attribute of a clas