You are correct in terms of your 2002 Toyota Camry not needed the EVAP Functional Test (which tests your Toyota's EVAP system) however the gas tank filler neck and CAP is still inspected the during the smog inspection. It is not considered part of the EVAP functional test. It is part of the EVAP visual test.
Prior to getting your smog test we recommend having your car's gas tank filler neck repaired.