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.Unary;
23  
24  /**
25   * Checks different methods of unary logical expressions
26   * 
27   * @author Nathalie.Steinmetz@deri.org
28   */
29  public class UnaryImplTest extends LogicalExpressionTestCase {
30      
31      
32      public void testGetArgument() throws Exception{
33          Unary u1 = (Unary) leFactory.createLogicalExpression("neg b.", topEntity);
34          LogicalExpression operand= u1.getOperand();
35          assertNotNull(operand);
36      }
37  }