I added a helper you can use for this, ngHal.mockEnclosure(url);