public void testInverse() { BiMap<String, Integer> bimap = create(); BiMap<Integer, String> inverse = bimap.inverse(); assertSame(bimap, inverse.inverse()); assertTrue(inverse instanceof SynchronizedBiMap); assertSame(mutex, ((SynchronizedBiMap<?, ?>) inverse).mutex); }