Injecting a case class containing our mutable map. Need to test whether it creates a new instances of MemoizeDi for each factory, it will need to
ScalaTest version of a test, still using Mockito