Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make Storage Factory mockable #20

Open
emulgeator opened this issue May 24, 2015 · 2 comments
Open

Make Storage Factory mockable #20

emulgeator opened this issue May 24, 2015 · 2 comments
Milestone

Comments

@emulgeator
Copy link
Collaborator

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

@emulgeator emulgeator modified the milestone: v0.4.0 May 25, 2015
@szeber
Copy link
Owner

szeber commented Jun 10, 2015

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

@emulgeator
Copy link
Collaborator Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants