| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
 | | Quintiq file version 2.0 |  | #parent: #root |  | StaticMethod ValidateExists (LibUTF_IterationRun run, Boolean checkexist, Object instance,  |  |   String text) |  | { |  |   Description: |  |   [* |  |     checkexist : true means check if object instance is null, expecting it is. False means vice versa. |  |     instance : passed in Object to evaluate if is null |  |     text : the error text when check fails |  |   *] |  |   TextBody: |  |   [* |  |     if( checkexist ) |  |     { |  |       run.AssertNotIsNull( instance, 'Checking exists: ' + text ); |  |     } |  |     else |  |     { |  |       run.AssertIsNull( instance, 'Checking not exists: ' + text ); |  |     } |  |   *] |  | } | 
 |