def test_java_type_parser__adapt_tokens__invalid_tokens(tokens, expected):
    assert JavaTypeParser.adapt_tokens(tokens) == expected
def test_java_type_parser__adapt_tokens__separate_wildcard_bounds_are_ignored(
        tokens, expected):
    assert JavaTypeParser.adapt_tokens(tokens) == expected
def test_java_type_parser__adapt_tokens__wildcard_bounds(tokens, expected):
    assert JavaTypeParser.adapt_tokens(tokens) == expected