I am writing unit tests for a class component in React. I want to test separate parts of one big object which takes up over 50 lines of code. While I can test the whole obje