def METHOD_NAME(self):
    """Test whitelist-based condition construction."""
    cond = LocalSplitSynchronizer._make_whitelist_condition(['key1', 'key2'], 'on')
    assert cond['conditionType'] == 'WHITELIST'
    assert len(cond['partitions']) == 1
    assert cond['partitions'][0]['treatment'] == 'on'
    assert cond['partitions'][0]['size'] == 100
    assert len(cond['matcherGroup']['matchers']) == 1
    assert cond['matcherGroup']['matchers'][0]['matcherType'] == 'WHITELIST'
    assert cond['matcherGroup']['matchers'][0]['whitelistMatcherData']['whitelist'] == ['key1', 'key2']
    assert cond['matcherGroup']['matchers'][0]['negate'] is False
    assert cond['matcherGroup']['combiner'] == 'AND'