def METHOD_NAME():
    """Test creating entities from raw data."""
    input_file = get_test_data_path().joinpath("entities.json")
    with open(input_file, "r") as file_handle:
        txt = file_handle.read()
        entity_dict = json.loads(txt)
    parsed_entities = []
    for _, entity in entity_dict.items():
        entity = entities.Entity.instantiate_entity(entity)
        check.is_instance(entity, entities.Entity)
        if entity["Type"] == "account":
            check.is_instance(entity, entities.Account)
            check.is_true("Name" in entity)
            check.greater(len(entity.Name), 0)
        elif entity["Type"] == "host":
            check.is_instance(entity, entities.Host)
            check.is_true("HostName" in entity)
            check.greater(len(entity.HostName), 0)
        elif entity["Type"] == "process":
            check.is_instance(entity, entities.Process)
            check.is_true("ProcessId" in entity)
            check.greater(len(entity.ProcessId), 0)
        elif entity["Type"] == "file":
            check.is_instance(entity, entities.File)
            check.is_true("Name" in entity)
            check.greater(len(entity.Name), 0)
        elif entity["Type"] == "ipaddress":
            check.is_instance(entity, entities.IpAddress)
            check.is_true("Address" in entity)
            check.greater(len(entity.Address), 0)
        parsed_entities.append(entity)
    check.greater_equal(len(parsed_entities), 7)