expect(fn () => new PathSegmentTypeMatch( PathSegmentType::Raw, 'hello' )) ->type->toBe(PathSegmentType::Raw) ->value->toBe('hello');