Testing a component


I’m in the process of writing some tests for a component and for the most part it is going well.

However one thing I haven’t figured is how to test the component in block form. Wondering how I can pass some block content to my component in my test?

thanks, Francois