withFactory abstract method

Spec<T> withFactory(
  1. FactoryMethodDesign descriptor
)

Defines this pod using a factory descriptor.

This allows more complex factory method definitions.

Implementation

Spec<T> withFactory(FactoryMethodDesign descriptor);