Injecting TodoDocumentRepository mock to Spring application context when integration tests are run and Java config is used.
TodoDocumentRepository mock is used when integration tests are run by using XML configuration