Use factories defined under features/factories/
Create a factory for category repository items
Define a factory method to create a repository with given contents
Define the contents of the repository within the tests