Option (Test\Option) [x] Get succeeds for Some [x] Get 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] 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] Is succeeds with None [x] Is succeeds with Some when strictly equal [x] Is succeeds with Some when strictly unequal [x] Is succeeds with Some when loosely equal [x] Is succeeds with Some when loosely unequal [x] Unwrap succeeds with None [x] Unwrap succeeds with Some [x] Tap succeeds with Some [x] Tap 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] GetOK succeeds for OK result [x] GetOK fails for Error result [x] GetError succeeds for Error result [x] GetError 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] 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] 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