@Test
public void testBasicExpressions()
{

    Artifact artifact = new DefaultArtifact( "foo", "bar" );
    ArtifactContext context = new ArtifactContext( artifact );
    BooleanExpression trueExpression = new BooleanLiteral( true );
    assertTrue( trueExpression.getValue( context ) );
    BooleanExpression falseExpression = new BooleanLiteral( false );
    assertFalse( falseExpression.getValue( context ) );
    BooleanExpression andExpression = new And( Arrays.asList( trueExpression, falseExpression ) );
    assertFalse( andExpression.getValue( context ) );
    BooleanExpression orExpression = new Or( Arrays.asList( trueExpression, falseExpression ) );
    assertTrue( orExpression.getValue( context ) );
    BooleanExpression xorExpression = new Xor( Arrays.asList( trueExpression, falseExpression ) );
    assertTrue( xorExpression.getValue( context ) );
}