No, we should use `assertThat(transformedMap.get("departments"), Matchers.instanceOf(List.class));`
for Unit tests.