Tag Reference for @mock

Mock

Class Level Tags

@mock.generate

Method Level Tags

Field Level Tags

Tag Usage, Class Level (@mock)

@mock.generate (0..1)

Specifies that the class should have a mock class created for it

Parameter Type Applicability Description Mandatory
className text The name of the class to create false