### Question:
EncounterType extends BaseChangeableOpenmrsMetadata { public Integer getEncounterTypeId() { return encounterTypeId; } EncounterType();  EncounterType(Integer encounterTypeId);  EncounterType(String name, String description); Integer getEncounterTypeId(); void setEncounterTypeId(Integer encounterTypeId); @Override Integer getId(); @Override void setId(Integer id); Privilege getViewPrivilege(); void setViewPrivilege(Privilege viewPrivilege); Privilege getEditPrivilege(); void setEditPrivilege(Privilege editPrivilege); static final long serialVersionUID; }### Answer:
@Test public void EncounterType_shouldSetEncounterTypeIdWithGivenParameter() { EncounterType encounterType = new EncounterType(123); Assert.assertEquals(123, encounterType.getEncounterTypeId().intValue()); }