RuleIdImpl implements RuleId { static RuleId fromValues(final Specification specifcation, final String clause, final int testNumber) { return new RuleIdImpl(specifcation, clause, testNumber); } private  RuleIdImpl(); private  RuleIdImpl(final Specification specification, final String clause,
            final int testNumber); @Override Specification getSpecification(); @Override String getClause(); @Override int getTestNumber(); @Override final int hashCode(); @Override final boolean equals(Object obj); @Override final String toString();  }
@Test public final void testFromValues() { RuleId ruleId = Profiles.ruleIdFromValues(Specification.NO_STANDARD, "clause", 0); RuleId defaultInstance = Profiles.defaultRuleId(); assertFalse(ruleId == defaultInstance); assertTrue(ruleId.equals(defaultInstance)); }