#pragma once

#include "tests_common.h"

#include <maps/wikimap/mapspro/services/editor/src/objects/object.h>
#include <maps/wikimap/mapspro/services/editor/src/common.h>
#include <yandex/maps/wiki/revision/common.h>

#include <library/cpp/testing/unittest/registar.h>


#define WIKI_ASSERT_OBJECT_STATE(objectId, expState)    \
    UNIT_ASSERT_VALUES_EQUAL(                           \
        getObjectState(objectId),                       \
        (GeoObject::State::expState)                    \
    )


namespace maps::wiki::tests {

GeoObject::State
getObjectState(
    TOid objectId,
    TUid uid = TESTS_USER,
    TBranchId branchId = revision::TRUNK_BRANCH_ID);

} // namespace maps::wiki::tests
