UllmannState extends State { @Override int nextN(int n) { return size; } UllmannState(IAtomContainer container1, IAtomContainer container2, int[][] g1, int[][] g2,
            EdgeToBondMap bonds1, EdgeToBondMap bonds2, AtomMatcher atomMatcher, BondMatcher bondMatcher);   }
@Test public void testNextN() throws Exception { UllmannState state = createBenzeneToNaphthalene(AtomMatcher.forAny(), BondMatcher.forAny()); assertThat(state.nextN(0), is(0)); state.size = 1; assertThat(state.nextN(0), is(1)); state.size = 2; assertThat(state.nextN(0), is(2)); }