Skip to content

Add parameter to allow creation of dummy objects for abstract types #28

Description

@hprange

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;

Metadata

Metadata

Assignees

Labels

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions