test_class.file: tool/hash/src/test/java/org/openscience/cdk/hash/ConjugatedAtomEncoderTest.java
test_class.identifier: ConjugatedAtomEncoderTest
test_case.body: @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);
      }
test_case.class_method_signature: ConjugatedAtomEncoderTest.testEncode_Single()
test_case.full_signature: @Test public void testEncode_Single()
test_case.identifier: testEncode_Single
test_case.invocations: mock mock mock asList encode encode verify times verifyNoMoreInteractions
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testEncode_Single()
focal_class.declarator: encoders
focal_class.modifier: private final
focal_class.original_string: private final List<AtomEncoder> encoders;
focal_class.type: List<AtomEncoder>
focal_class.var_name: encoders
focal_class.file: tool/hash/src/main/java/org/openscience/cdk/hash/ConjugatedAtomEncoder.java
focal_class.identifier: ConjugatedAtomEncoder
focal_class.interfaces: implements AtomEncoder
focal_class.class_method_signature: ConjugatedAtomEncoder.ConjugatedAtomEncoder(List<AtomEncoder> encoders)
focal_class.full_signature: public  ConjugatedAtomEncoder(List<AtomEncoder> encoders)
focal_class.identifier: ConjugatedAtomEncoder
focal_class.modifiers: public
focal_class.parameters: (List<AtomEncoder> encoders)
focal_class.signature:  ConjugatedAtomEncoder(List<AtomEncoder> encoders)
focal_class.class_method_signature: ConjugatedAtomEncoder.encode(IAtom atom, IAtomContainer container)
focal_class.full_signature: @Override public int encode(IAtom atom, IAtomContainer container)
focal_class.identifier: encode
focal_class.modifiers: @Override public
focal_class.parameters: (IAtom atom, IAtomContainer container)
focal_class.return: int
focal_class.signature: int encode(IAtom atom, IAtomContainer container)
focal_class.class_method_signature: ConjugatedAtomEncoder.create(AtomEncoder encoder, AtomEncoder... encoders)
focal_class.full_signature: public static AtomEncoder create(AtomEncoder encoder, AtomEncoder... encoders)
focal_class.identifier: create
focal_class.modifiers: public static
focal_class.parameters: (AtomEncoder encoder, AtomEncoder... encoders)
focal_class.return: AtomEncoder
focal_class.signature: AtomEncoder create(AtomEncoder encoder, AtomEncoder... encoders)
focal_method.body: @Override
      public int encode(IAtom atom, IAtomContainer container) {
          int hash = 179426549;
          for (AtomEncoder encoder : encoders)
              hash = 31 * hash + encoder.encode(atom, container);
          return hash;
      }
focal_method.class_method_signature: ConjugatedAtomEncoder.encode(IAtom atom, IAtomContainer container)
focal_method.full_signature: @Override public int encode(IAtom atom, IAtomContainer container)
focal_method.identifier: encode
focal_method.invocations: encode
focal_method.modifiers: @Override public
focal_method.parameters: (IAtom atom, IAtomContainer container)
focal_method.return: int
focal_method.signature: int encode(IAtom atom, IAtomContainer container)