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:
@Dummy(of=Concrete.class, size=2)
NSArray<Abstract> dummyAbstract;
Occasionally, creating a dummy object for a abstract type is desirable. We can add a
ofparameter to the@Dummyannotation describing the concrete type that should be created like this:We must also support the creation of an array of dummies: