@Test
public void multicenter() {

    CxSmilesState state = new CxSmilesState();
    state.positionVar = new HashMap<>();
    state.positionVar.put(0, Arrays.asList(4, 5, 6, 7));
    state.positionVar.put(2, Arrays.asList(4, 6, 5, 7));
    assertThat(CxSmilesGenerator.generate(state, SmiFlavor.CxMulticenter, new int[0], new int[]{7, 6, 5, 4, 3, 2, 1, 0}),
               is(" |m:5:0.1.2.3,7:0.1.2.3|"));
}