I am trying to design a test to test a method that receives a component by a template reference. The template looks something like this: