yapep_base icon indicating copy to clipboard operation
yapep_base copied to clipboard

Make Storage Factory mockable

Open emulgeator opened this issue 9 years ago • 2 comments

Storage Factory is a simple static class which makes it impossible to mock.

emulgeator avatar May 24 '15 17:05 emulgeator

I agree, probably best to move it in the DI container, and make the methods non static.

szeber avatar Jun 10 '15 20:06 szeber

Before even doing it, please give an example about the DI solution you mentioned before (when we spoke)

emulgeator avatar Jun 24 '15 16:06 emulgeator