@Test
public void testGetExternalInterfaceEntity()
{

    // Create an external interface entity.
    ExternalInterfaceEntity externalInterfaceEntity = new ExternalInterfaceEntity();
    // Mock the external calls.
    when(externalInterfaceDao.getExternalInterfaceByName(EXTERNAL_INTERFACE)).thenReturn(externalInterfaceEntity);
    // Call the method under test.
    ExternalInterfaceEntity result = externalInterfaceDaoHelper.getExternalInterfaceEntity(EXTERNAL_INTERFACE);
    // Validate the results.
    assertEquals(externalInterfaceEntity, result);
    // Verify the external calls.
    verify(externalInterfaceDao).getExternalInterfaceByName(EXTERNAL_INTERFACE);
    verifyNoMoreInteractionsHelper();
}