keeganwitt / gmock

Automatically exported from code.google.com/p/gmock
6 stars 2 forks source link

Failed while setting property to null #26

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The following test is failed:

    void testSetPropertyToNull() {
        def mockLoader = mock()
        mockLoader.test.sets(null)

        play {
            mockLoader.test = null
            return null // prevent the getter of name from being invoked 
for evaluating the result of closure
        }
    }

Original issue reported on code.google.com by JohnnyJianHY on 19 Nov 2008 at 6:04

GoogleCodeExporter commented 9 years ago

Original comment by JohnnyJianHY on 21 Nov 2008 at 4:23

GoogleCodeExporter commented 9 years ago
Forgot to close the issue.

Original comment by JohnnyJianHY on 22 Nov 2008 at 1:35