@Test
public void testGetBusinessObjectDefinitionDescriptionSuggestionEntity()
{

    // Setup
    BusinessObjectDefinitionEntity businessObjectDefinitionEntity = mock(BusinessObjectDefinitionEntity.class);
    // Create a business object definition description suggestion entity.
    BusinessObjectDefinitionDescriptionSuggestionEntity businessObjectDefinitionDescriptionSuggestionEntity =
        new BusinessObjectDefinitionDescriptionSuggestionEntity();
    businessObjectDefinitionDescriptionSuggestionEntity.setBusinessObjectDefinition(businessObjectDefinitionEntity);
    businessObjectDefinitionDescriptionSuggestionEntity.setUserId(USER_ID);
    businessObjectDefinitionDescriptionSuggestionEntity.setDescriptionSuggestion(DESCRIPTION_SUGGESTION);
    // Setup mock interactions.
    when(businessObjectDefinitionDescriptionSuggestionDao
        .getBusinessObjectDefinitionDescriptionSuggestionByBusinessObjectDefinitionAndUserId(businessObjectDefinitionEntity, USER_ID))
        .thenReturn(businessObjectDefinitionDescriptionSuggestionEntity);
    // Call method under test.
    BusinessObjectDefinitionDescriptionSuggestionEntity result = businessObjectDefinitionDescriptionSuggestionDaoHelper
        .getBusinessObjectDefinitionDescriptionSuggestionEntity(businessObjectDefinitionEntity, USER_ID);
    // Validate result.
    assertThat("Result does not equal businessObjectDefinitionDescriptionSuggestionEntity.", result,
        is(equalTo(businessObjectDefinitionDescriptionSuggestionEntity)));
    // Verify mocks interactions.
    verify(businessObjectDefinitionDescriptionSuggestionDao)
        .getBusinessObjectDefinitionDescriptionSuggestionByBusinessObjectDefinitionAndUserId(businessObjectDefinitionEntity, USER_ID);
    verifyNoMoreInteractions(businessObjectDefinitionDescriptionSuggestionDao);
}