• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 package org.robolectric.testing;
2 
3 import org.robolectric.annotation.internal.Instrument;
4 
5 @Instrument
6 public class AClassWithEqualsHashCodeToString {
7   @SuppressWarnings("EqualsWhichDoesntCheckParameterClass")
8   @Override
equals(Object obj)9   public boolean equals(Object obj) {
10     return true;
11   }
12 
13   @Override
hashCode()14   public int hashCode() {
15     return 42;
16   }
17 
18   @Override
toString()19   public String toString() {
20     return "baaaaaah";
21   }
22 }
23