@mock Tag Reference

Mock

@mock Class Level Tags

@mock.generate

@mock Method Level Tags

@mock Field Level Tags

@mock Class Level Tag Usage

@mock.generate (0..1)

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

ParameterTypeApplicabilityDescriptionMandatory
classNametextThe name of the class to createfalse

@mock Method Level Tag Usage

@mock Field Level Tag Usage