I am trying to test a method for the happy path and an Exception scenario. My class looks like this
class MyClass { @Autowired AnotherClass anotherClass; p