How to paste content inside a file using terminal on MAC?

Hi all! I’m currently at the end of Git&GitHub PRO course on Codecademy. I have to add automated testing to a repository. So far, so good but… : “Create a new .yaml file inside the directory. Let’s name it unittests.yaml and paste the following content inside the file. Note that the indentation and spacing are important.” I’ve created the file but how on earth to paste the content inside?! Any help is appreciated. :pray: