replace deprecated HaveOccured() with HaveOccurred
Merge pull request #76 from cloudfoundry-community/fix_HaveOccured

replace deprecated HaveOccured() with HaveOccurred