Galaxy And Mass Assembly (GAMA): estimating galaxy group masses via caustic analysis