### Question:
LargeSequenceStoredToNonFloatingPointNumberViolation implements Violation { @Override public int hashCode() { return new HashCodeBuilder().append(StringUtils.lowerCase(seqResultVariable, Locale.US)) .append(StringUtils.lowerCase(attemptedStoreVariable, Locale.US)).append(getLineNumber()).toHashCode(); } LargeSequenceStoredToNonFloatingPointNumberViolation(final String seqResultVariable,
            final String attemptedStoreVariable, final Integer lineNumber); @Override boolean equals(final Object obj); @Override Integer getLineNumber(); @Override String getViolationDescription(); @Override String getViolationExplanation(); @Override ViolationId getViolationId(); @Override int hashCode(); @Override String toString();  }### Answer:
@Test public void testEqualsCaseInsensitiveSeqResultVariable() { final LargeSequenceStoredToNonFloatingPointNumberViolation first = new LargeSequenceStoredToNonFloatingPointNumberViolation( seqResultVariable, attemptedStoreVariable, null); final LargeSequenceStoredToNonFloatingPointNumberViolation second = new LargeSequenceStoredToNonFloatingPointNumberViolation( StringUtils.swapCase(seqResultVariable), attemptedStoreVariable, null); assertThat(first).isEqualTo(second); assertThat(second).isEqualTo(first); assertThat(first.hashCode()).isEqualTo(second.hashCode()); }
@Test public void testEqualsCaseInsensitiveStoreVariable() { final LargeSequenceStoredToNonFloatingPointNumberViolation first = new LargeSequenceStoredToNonFloatingPointNumberViolation( seqResultVariable, attemptedStoreVariable, null); final LargeSequenceStoredToNonFloatingPointNumberViolation second = new LargeSequenceStoredToNonFloatingPointNumberViolation( seqResultVariable, StringUtils.swapCase(attemptedStoreVariable), null); assertThat(first).isEqualTo(second); assertThat(second).isEqualTo(first); assertThat(first.hashCode()).isEqualTo(second.hashCode()); }