@Test
public void testEncode_Single() throws Exception {

    AtomEncoder a = mock(AtomEncoder.class);
    IAtom atom = mock(IAtom.class);
    IAtomContainer container = mock(IAtomContainer.class);
    AtomEncoder encoder = new ConjugatedAtomEncoder(Arrays.asList(a));
    encoder.encode(atom, container);
    verify(a, times(1)).encode(atom, container);
    verifyNoMoreInteractions(a, atom, container);
}