addAlbum("album-id", album)
addHttpRequestParameter("album", "album-id")
expectedException.expect(redirectsTo("imageBrowser.html?sone=sone-id"))
addAlbum("album-id", album)
addHttpRequestParameter("album", "album-id")
expectedException.expect(redirectsTo("imageBrowser.html?sone=sone-id"))
addAlbum("album-id", album)
addHttpRequestParameter("album", "album-id")
expectedException.expect(redirectsTo("imageBrowser.html?album=parent-id"))
addAlbum("album-id", album)
addHttpRequestParameter("album", "album-id")
expectedException.expect(redirectsTo("imageBrowser.html?album=parent-id"))