Skip to content
This repository has been archived by the owner on Oct 21, 2018. It is now read-only.

Changed the default return value for methods that return a collection interface to return an instance of an empty collection #11

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Feb 19, 2011

  1. Changed default return value of collection interfaces to return an in…

    …stance of an empty collection when the method have no expectations. It will avoid the need to stub methods that returns collections just to avoid null reference exceptions when the method does not matter in the test
    GustavoRusso committed Feb 19, 2011
    Configuration menu
    Copy the full SHA
    a32db83 View commit details
    Browse the repository at this point in the history