Occasionally, creating a dummy object for a abstract type is desirable. We can add a of parameter to the @Dummy annotation describing the concrete type that should be created like this:
@Dummy(of=Concrete.class)
Abstract dummyAbstract;
We must also support the creation of an array of dummies:
Occasionally, creating a dummy object for a abstract type is desirable. We can add a
of
parameter to the@Dummy
annotation describing the concrete type that should be created like this:We must also support the creation of an array of dummies: