Migrate trusted_component_test.cpp from Gerrit to Google3. Google-Bug-Id:548089321 PiperOrigin-RevId: 970192218 Change-Id: Ic2b96ff90989b06e84ae66b4145ee8c04beafcd9