### Question:
FormMappingItem implements Serializable { public String getPageId() { return pageId; } FormMappingItem(final FormMapping item); String getProcessDefinitionId(); void setProcessDefinitionId(final String processDefinitionId); String getPageMappingKey(); void setPageMappingKey(final String pageMappingKey); String getId(); void setId(final String id); String getTask(); void setTask(final String task); String getPageId(); void setPageId(final String pageId); String getURL(); void setPageURL(final String pageURL); FormMappingType getType(); void setType(final FormMappingType type); String getLastUpdatedBy(); void setLastUpdatedBy(final String lastUpdatedBy); Date getLastUpdateDate(); void setLastUpdateDate(final Date lastUpdateDate); FormMappingTarget getTarget(); void setTarget(final FormMappingTarget target); boolean isFormRequired(); void setFormRequired(final boolean formRequired);  }### Answer:
@Test public void it_should_handle_a_null_pageId() { when(formMapping.getPageId()).thenReturn(null); FormMappingItem formMappingItem = new FormMappingItem(formMapping); assertThat(formMappingItem.getPageId()).isEqualTo(null); }