You could have a method `atomicMapToMap(FGAM)`, which checked that the values collection, the key set, and the entry set are all consistent. Then, in the tests, you would only have to do an `assertEquals(expectedMap, atomicMapToMap(fgam))`.