Intentionally - Manual - AxUnit - AxUnit - AxUnit,

AxUnit (legacy) CLI Tool (test)

Portfolio
SIMATIC AX
Product
AxUnit
Software version
2.0.9
Edition
08/2025
Language
English (original)
Package Name
@ax/axunit-docs

In case there is a need to reset to the original function in the test, the next AxUnit.Mocking.Mockcall is necessary where by the mockeeFn and mockFn parameters are the same function names.

In following example the mock setup of Siemens.Simatic.S71500.Clocks.GetOperatingTime is reseted.

AxUnit.Mocking.Mock('Siemens.Simatic.S71500.Clocks.GetOperatingTime', 'Siemens.Simatic.S71500.Clocks.GetOperatingTime');