Skip to content

Commit b54a217

Browse files
committed
Add reference to the google testing blog
1 parent b36482f commit b54a217

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -301,6 +301,8 @@ This way the services are actually singletons but not implemented through the Si
301301
- It improves the testability of your source code
302302
- You can control the creation of singleton objects (in our case the IoC container controls it for us, by instantiating the singletons lazy)
303303

304+
For further discussion on this topic Misko Hevery's [article](http://googletesting.blogspot.com/2008/05/tott-using-dependancy-injection-to.html) in the Google Testing blog could be considered.
305+
304306
#### Factory Method
305307

306308
>The factory method pattern is a creational pattern, which uses factory methods to deal with the problem of creating objects without specifying the exact class of object that will be created. This is done by creating objects via a factory method, which is either specified in an interface (abstract class) and implemented in implementing classes (concrete classes); or implemented in a base class, which can be overridden when inherited in derived classes; rather than by a constructor.
@@ -940,3 +942,4 @@ And the following partial:
940942
3. [AngularJS' git repository](https://github.com/angular/angular.js)
941943
4. [Page Controller](http://msdn.microsoft.com/en-us/library/ff649595.aspx)
942944
5. [Patterns of Enterprise Application Architecture (P of EAA)](http://martinfowler.com/books/eaa.html)
945+
6. [Using Dependancy Injection to Avoid Singletons](http://googletesting.blogspot.com/2008/05/tott-using-dependancy-injection-to.html)

0 commit comments

Comments
 (0)