@Test
public void testGetFragmentsAsContainers() throws Exception {

    IAtomContainer biphenyl = TestMoleculeFactory.makeBiphenyl();
    AtomContainerManipulator.percieveAtomTypesAndConfigureAtoms(biphenyl);
    Aromaticity.cdkLegacy().apply(biphenyl);
    MurckoFragmenter fragmenter = new MurckoFragmenter(true, 6);
    fragmenter.generateFragments(biphenyl);
    IAtomContainer[] fragments = fragmenter.getFragmentsAsContainers();
    assertThat(fragments.length, is(2));
    assertThat(fragments[0].getAtomCount(), is(12));
    assertThat(fragments[1].getAtomCount(), is(6));
}