1   /*
2     wsmo4j - a WSMO API and Reference Implementation
3   
4   
5    Copyright (c) 2005, University of Innsbruck, Austria
6   
7    This library is free software; you can redistribute it and/or modify it under
8    the terms of the GNU Lesser General Public License as published by the Free
9    Software Foundation; either version 2.1 of the License, or (at your option)
10   any later version.
11   This library is distributed in the hope that it will be useful, but WITHOUT
12   ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
13   FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
14   details.
15   You should have received a copy of the GNU Lesser General Public License along
16   with this library; if not, write to the Free Software Foundation, Inc.,
17   59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18   */
19  package test.wsmo4j.logicalexpression;
20  
21  import org.omwg.logicalexpression.LogicalExpression;
22  import org.omwg.logicalexpression.Quantified;
23  
24  /**
25   * Checks different methods of quantified logical expressions
26   * 
27   * @author Nathalie.Steinmetz@deri.org
28   */
29  public class QuantifiedImplTest extends LogicalExpressionTestCase {
30  
31      public void testGetArgument() throws Exception{
32          Quantified q1 = (Quantified) leFactory.createLogicalExpression(
33                  "forall {?a,?b} (neg ?a memberOf b).", topEntity);
34          LogicalExpression operand = q1.getOperand();
35          assertNotNull(operand);
36      }
37  }