Option (Test\Option) [x] Value succeeds for Some [x] Value fails for None [x] IsNone succeeds with None [x] IsNone succeeds with Some [x] IsSome succeeds with None [x] IsSome succeeds with Some [x] GetOrDefault succeeds with None [x] GetOrDefault succeeds with Some [x] GetOrCall succeeds with None [x] GetOrCall succeeds with Some [x] GetOrThrow succeeds with Some [x] GetOrThrow succeeds with None [x] Bind succeeds with None [x] Bind succeeds with Some and Some [x] Bind succeeds with Some and None [x] Contains succeeds with None [x] Contains succeeds with Some when strictly equal [x] Contains succeeds with Some when strictly unequal [x] Contains succeeds with Some when loosely equal [x] Contains succeeds with Some when loosely unequal [x] Exists succeeds with Some when matching [x] Exists succeeds with Some when not matching [x] Exists succeeds with None [x] Map succeeds with None [x] Map succeeds with Some [x] Map fails with Some when mapping is null [x] Iter succeeds with None [x] Iter succeeds with Some [x] Filter succeeds with None [x] Filter succeeds with Some when true [x] Filter succeeds with Some when false [x] Unwrap succeeds with None [x] Unwrap succeeds with Some [x] Tap succeeds with Some [x] Tap succeeds with None [x] ToArray succeeds with Some [x] ToArray succeeds with None [x] ToPhpOption succeeds for Some [x] ToPhpOption succeeds for None [x] Some succeeds with value [x] Some fails with null [x] None succeeds [x] Of succeeds with null [x] Of succeeds with non null [x] Of succeeds with PhpOption\Some [x] Of succeeds with PhpOption\None Result (Test\Result) [x] OK property succeeds for OK result [x] OK property fails for Error result [x] Error property succeeds for Error result [x] Error property fails for OK result [x] IsOK succeeds for OK result [x] IsOK succeeds for Error result [x] IsError succeeds for Error result [x] IsError succeeds for OK result [x] Bind succeeds for OK with OK [x] Bind succeeds for OK with Error [x] Bind succeeds for Error [x] Contains succeeds for Error result [x] Contains succeeds for OK result when strictly equal [x] Contains succeeds for OK result when strictly unequal [x] Contains succeeds for OK result when loosely equal [x] Contains succeeds for OK result when loosely unequal [x] Exists succeeds for OK result when matching [x] Exists succeeds for OK result when not matching [x] Exists succeeds for Error result [x] Map succeeds for OK result [x] Map fails for OK result when mapping is null [x] Map succeeds for Error result [x] MapError succeeds for OK result [x] MapError succeeds for Error result [x] MapError fails for Error result when mapping is null [x] Iter succeeds for OK result [x] Iter succeeds for Error result [x] ToArray succeeds for OK result [x] ToArray succeeds for Error result [x] ToOption succeeds for OK result [x] ToOption succeeds for Error result [x] Tap succeeds for OK result [x] Tap succeeds for Error result [x] OK succeeds for non null result [x] OK fails for null result [x] Error succeeds for non null result [x] Error fails for null result