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