void () { assertPreference(" fb", "FooBar", "_fooBar", NameUtil.MatchingCaseSensitivity.NONE); assertPreference("*foo", "barFoo", "foobar"); assertPreference("*fo", "barfoo", "barFoo"); assertPreference("*fo", "barfoo", "foo"); assertPreference("*fo", "asdfo", "Foo", NameUtil.MatchingCaseSensitivity.NONE); assertPreference(" sto", "StackOverflowError", "ArrayStoreException", NameUtil.MatchingCaseSensitivity.NONE); assertPreference(" EUC-", "x-EUC-TW", "EUC-JP", NameUtil.MatchingCaseSensitivity.FIRST_LETTER); assertPreference(" boo", "Boolean", "boolean", NameUtil.MatchingCaseSensitivity.NONE); assertPreference(" Boo", "boolean", "Boolean", NameUtil.MatchingCaseSensitivity.NONE); assertPreference("ob", "oci_bind_array_by_name", "obj"); assertNoPreference("en", "ENABLED", "Enum", NameUtil.MatchingCaseSensitivity.NONE); }