### Question:
TypeAliases { Map<Type, TypeAlias> getAliasesMappedByType() { return typeToAliasMap; } TypeAliases();   }### Answer:
@Test void shouldInitializeMapOfAliasesByTypeProperly() { assertThat(typeAliases.getAliasesMappedByType().entrySet()) .containsExactlyInAnyOrder( getEntryWithTypeKey("Object", Object.class), getEntryWithTypeKey("String", String.class), getEntryWithTypeKey("Integer", Integer.class), getEntryWithTypeKey("Long", Long.class), getEntryWithTypeKey("Double", Double.class), getEntryWithTypeKey("Boolean", Boolean.class), getEntryWithTypeKey("Byte", Byte.class), getEntryWithTypeKey("Short", Short.class), getEntryWithTypeKey("Character", Character.class), getEntryWithTypeKey("Float", Float.class), getEntryWithTypeKey("Void", Void.class), getEntryWithTypeKey("int", int.class), getEntryWithTypeKey("long", long.class), getEntryWithTypeKey("double", double.class), getEntryWithTypeKey("boolean", boolean.class), getEntryWithTypeKey("byte", byte.class), getEntryWithTypeKey("short", short.class), getEntryWithTypeKey("char", char.class), getEntryWithTypeKey("float", float.class), getEntryWithTypeKey("void", void.class), getEntryWithTypeKey("ZonedDateTime", ZonedDateTime.class), getEntryWithTypeKey("BigDecimal", BigDecimal.class), getEntryWithTypeKey("List", List.class), getEntryWithTypeKey("Map", Map.class), getEntryWithTypeKey("Set", Set.class), getEntryWithTypeKey("Expression.Undefined", Expression.UNDEFINED)); }