def METHOD_NAME(result):
    """
    Check that given dict represents equipment data in correct form.
    """
    assert len(result) == 4  # id, name, aliases, category
    assert result['id'] != ''
    assert result['name'] == {'fi': 'test equipment'}
    aliases = result['aliases']
    assert len(aliases) == 1
    assert aliases[0]['name'] == 'test equipment alias'
    assert aliases[0]['language'] == 'fi'
    category = result['category']
    assert category['name'] == {'fi': 'test equipment category'}
    assert category['id'] != ''