Mocker.mockStruct

Creates a mock object for a given type.

Calls matching expectations with passThrough enabled will call equivalent methods of T object constructed with args.

Type of the mock is incompatibile with given type Final, template and virtual methods will be mocked

Use this type of mock to substitute template parameters

class Mocker
MockedStruct!T
mockStruct
(
T
CONSTRUCTOR_ARGS...
)
(
CONSTRUCTOR_ARGS args
)

Meta