It Works
This allows you to easily and quickly not only test your internal UI methods but also how the component itself behaves given those inputs by your dependencies. Most of the time this can even prevent you from needing a whole other tool set like Playwrite or Cypress.