@Test
public void testFirstArgumentMustNotBeAnQueryAtomContainer() throws Exception {

    SmilesParser sp = new SmilesParser(DefaultChemObjectBuilder.getInstance());
    IAtomContainer target = sp.parseSmiles("O1C=CC=C1");
    IAtomContainer queryac = sp.parseSmiles("C1CCCC1");
    QueryAtomContainer query = QueryAtomContainerCreator.createAnyAtomAnyBondContainer(queryac, false);
    try {
        CDKMCS.isSubgraph(query, target, true);
        Assert.fail("The UniversalIsomorphism should check when the first arguments is a QueryAtomContainer");
    } catch (Exception e) {
        // OK, it must Assert.fail!
    }
}