package Ġcom . exp one a . sdk . models . event filter . operators Ċ Ċ import Ġcom . exp one a . sdk . models . event filter . Event Filter Event Ċ import Ġcom . exp one a . sdk . models . event filter . PropertyAttribute Ċ import Ġkotlin . test . Test Ċ import Ġkotlin . test . assertFalse Ċ import Ġkotlin . test . assertTrue Ċ Ċ internal Ġclass ĠEvent Filter Generic Operators Test Ġ{ ĊĠĠĠ Ġcompanion Ġobject Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġtest Event Ġ= ĠEvent Filter Event ( ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ" test ", ĊĠĠĠĠĠĠĠĠĠĠĠ Ġhash Map Of (" string " Ġto Ġ" something ", Ġ" number " Ġto Ġ 1 2 3 4 , Ġ" boolean " Ġto Ġtrue , Ġ" null " Ġto Ġnull ), ĊĠĠĠĠĠĠĠĠĠĠĠĠ 1 2 3 4 5 . 0 ĊĠĠĠĠĠĠĠ Ġ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġ` test Ġ' is Ġset '` () Ġ{ ĊĠĠĠĠĠĠĠ ĠassertTrue ( IsSet Operator (). passes ( test Event , ĠProperty Attribute (" string "), Ġarray ListOf ())) ĊĠĠĠĠĠĠĠ ĠassertFalse ( IsSet Operator (). passes ( test Event , ĠProperty Attribute (" non _ existing _ prop "), Ġarray ListOf ())) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġ` test Ġ' is Ġnot Ġset '` () Ġ{ ĊĠĠĠĠĠĠĠ ĠassertFalse ( IsNot Set Operator (). passes ( test Event , ĠProperty Attribute (" string "), Ġarray ListOf ())) ĊĠĠĠĠĠĠĠ ĠassertTrue ( IsNot Set Operator (). passes ( test Event , ĠProperty Attribute (" non _ existing _ prop "), Ġarray ListOf ())) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġ` test Ġ' has Ġvalue '` () Ġ{ ĊĠĠĠĠĠĠĠ ĠassertFalse ( HasValue Operator (). passes ( test Event , ĠProperty Attribute (" non _ existing _ prop "), Ġarray ListOf ())) ĊĠĠĠĠĠĠĠ ĠassertFalse ( HasValue Operator (). passes ( test Event , ĠProperty Attribute (" null "), Ġarray ListOf ())) ĊĠĠĠĠĠĠĠ ĠassertTrue ( HasValue Operator (). passes ( test Event , ĠProperty Attribute (" string "), Ġarray ListOf ())) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġ` test Ġ' has Ġno Ġvalue '` () Ġ{ ĊĠĠĠĠĠĠĠ ĠassertFalse ( Has No Value Operator (). passes ( test Event , ĠProperty Attribute (" non _ existing _ prop "), Ġarray ListOf ())) ĊĠĠĠĠĠĠĠ ĠassertTrue ( Has No Value Operator (). passes ( test Event , ĠProperty Attribute (" null "), Ġarray ListOf ())) ĊĠĠĠĠĠĠĠ ĠassertFalse ( Has No Value Operator (). passes ( test Event , ĠProperty Attribute (" string "), Ġarray ListOf ())) ĊĠĠĠ Ġ} Ċ } Ċ