How do you test that one object communicates correctly with another? Have the object under test communicate with the test case instead of with the object it expects.
Why would you do this ? why not just check the object representing the green bar ?
Share this highlighthttp://learning.oreilly.com/a/test-driven-development/18164917/