Updates outOfSession logic to guard against outOfSession option that is not of data type boolean
Updates tests:
-- If options is null - outOfSession should be false
-- If outOfSession option is set to true and is of type boolean - outOfSession should be true
-- If outOfSession is not null and is not of type boolean - outOfSession should be false
-- If options is not null but doesn't contain outOfSession flag - outOfSession should be false
boolean
options
is null -outOfSession
should be false -- IfoutOfSession
option is set to true and is of type boolean -outOfSession
should be true -- IfoutOfSession
is not null and is not of type boolean -outOfSession
should be false -- Ifoptions
is not null but doesn't containoutOfSession
flag -outOfSession
should be false