Package com.hp.jena.rules.functions.tests

Source Code of com.hp.jena.rules.functions.tests.TestFalse

/*
  (c) Copyright 2008, 2009 Hewlett-Packard Development Company, LP
   All rights reserved.
   $Id$
*/


package com.hp.jena.rules.functions.tests;

import static org.junit.Assert.*;

import org.junit.Test;

import com.hp.jena.graph.Node;
import com.hp.jena.rules.functions.False;
import com.hp.jena.rules.retelike.impl.Bindings;
import com.hp.jena.rules.retelike.impl.ExecContext;
import com.hp.jena.rules.retelike.impl.Applyable;

public class TestFalse
    {
    @Test public void ensureFalseAnswersFalse()
        {
        Applyable p = new False();
        Bindings<Node, Node> empty = null;
        ExecContext e = null;
        assertFalse( p.evalBool( e, empty ) );
        }
    }
TOP

Related Classes of com.hp.jena.rules.functions.tests.TestFalse

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.