@Test
public void testAnyOrder() {

    AnyOrderQueryBond matcher = new AnyOrderQueryBond(mock(IChemObjectBuilder.class));
    IBond testBond = new Bond();
    for (IBond.Order order : IBond.Order.values()) {
        testBond.setOrder(order);
        Assert.assertTrue(matcher.matches(testBond));
    }
}