use assertEquals(0, map.size())

The advantage is that if the map size is not 0, you will see this in the assert message.