test_class.file: legacy/src/test/java/org/openscience/cdk/isomorphism/matchers/smarts/RingMembershipAtomTest.java
test_class.identifier: RingMembershipAtomTest
test_case.body: @Test
      public void none() throws Exception {
          RingMembershipAtom matcher = new RingMembershipAtom(0, mock(IChemObjectBuilder.class));
          IAtom atom = mock(IAtom.class);
          when(atom.getProperty(SMARTSAtomInvariants.KEY))
                  .thenReturn(
                          new SMARTSAtomInvariants(mock(IAtomContainer.class), 0, 0, Collections.<Integer> emptySet(), 0,
                                  0, 0, 0));
          assertTrue(matcher.matches(atom));
      }
test_case.class_method_signature: RingMembershipAtomTest.none()
test_case.full_signature: @Test public void none()
test_case.identifier: none
test_case.invocations: mock mock thenReturn when getProperty mock emptySet assertTrue matches
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void none()
focal_class.declarator: ringNumber
focal_class.modifier: private
focal_class.original_string: private int ringNumber;
focal_class.type: int
focal_class.var_name: ringNumber
focal_class.file: legacy/src/main/java/org/openscience/cdk/isomorphism/matchers/smarts/RingMembershipAtom.java
focal_class.identifier: RingMembershipAtom
focal_class.class_method_signature: RingMembershipAtom.RingMembershipAtom(int num, IChemObjectBuilder builder)
focal_class.full_signature: public  RingMembershipAtom(int num, IChemObjectBuilder builder)
focal_class.identifier: RingMembershipAtom
focal_class.modifiers: public
focal_class.parameters: (int num, IChemObjectBuilder builder)
focal_class.signature:  RingMembershipAtom(int num, IChemObjectBuilder builder)
focal_class.class_method_signature: RingMembershipAtom.matches(IAtom atom)
focal_class.full_signature: @Override public boolean matches(IAtom atom)
focal_class.identifier: matches
focal_class.modifiers: @Override public
focal_class.parameters: (IAtom atom)
focal_class.return: boolean
focal_class.signature: boolean matches(IAtom atom)
focal_class.superclass: extends SMARTSAtom
focal_method.body: @Override
      public boolean matches(IAtom atom) {
          if (ringNumber < 0)
              return invariants(atom).ringConnectivity() > 0;
          else if (ringNumber == 0)
              return invariants(atom).ringConnectivity() == 0;
          else
              return ringNumber == invariants(atom).ringNumber();
      }
focal_method.class_method_signature: RingMembershipAtom.matches(IAtom atom)
focal_method.full_signature: @Override public boolean matches(IAtom atom)
focal_method.identifier: matches
focal_method.invocations: ringConnectivity invariants ringConnectivity invariants ringNumber invariants
focal_method.modifiers: @Override public
focal_method.parameters: (IAtom atom)
focal_method.return: boolean
focal_method.signature: boolean matches(IAtom atom)