I am trying to write a unit test for the following method in my controller.
@Autowired private ApplicationContext context; private String getProperty() { ...