aboutsummaryrefslogtreecommitdiffstats
path: root/predicate-search-core/src/test/java/com/yahoo/document/predicate/PredicateOperatorTest.java
blob: 833676f68dd3861c88f2ceabee9b24a0883b10c3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.document.predicate;

import org.junit.Test;

import static org.junit.Assert.assertTrue;

/**
 * @author <a href="mailto:simon@yahoo-inc.com">Simon Thoresen Hult</a>
 */
public class PredicateOperatorTest {

    @Test
    public void requireThatOperatorIsAPredicate() {
        assertTrue(Predicate.class.isAssignableFrom(PredicateOperator.class));
    }
}