Open chaurasia-amarjeet opened 3 years ago
Was this already implemented? I see SingletonPatternTests.cs
I'm finding this is difficult to implement. Start using this example but couldn't quite get it to work as expected - http://pvlerick.github.io/2017/03/how-to-get-rid-of-a-singleton.
According to this article, TDD and ultimately unit testing isn't recommend - https://dev.to/bacarpereira/don-t-use-singleton-pattern-in-your-unit-tests-8p7
We should include unit tests for patterns, Singleton pattern should be easiest to start with.