Yes, and it's probably view.getOwnerItemGroup() rather than view.getOwner() that needs to be called here.
Unfortunately i'm struggling for now with testing of this method.