Basis information
A delegate is not mocked in the end-to-end test cases, since small
calculations are often
performed in this context. These are to be tested as part of the end-to-end test. However, the
delegate must be registered in the test case. The basic information given here is used for
this.
Specification of manually developed mocks
If a delegate has access to external services, it is both useful and necessary to develop mocks
for the tests. These cannot be generated and have to be developed manually. In the delegate
there is usually a setter that can be used to set the mocked service. This is used to control
the mock in the test case.