1 package org.robolectric.testing; 2 3 import org.robolectric.annotation.internal.Instrument; 4 5 @SuppressWarnings("UnusedDeclaration") 6 @Instrument 7 public class AClassThatRefersToAForgettableClass { 8 public AClassToForget someField; 9 public AClassToForget[] someFields; 10 interactWithForgettableClass()11 public String interactWithForgettableClass() { 12 AClassToForget aClassToForget = new AClassToForget(); 13 return aClassToForget.forgettableMethod() + ", " + aClassToForget.memorableMethod(); 14 } 15 interactWithForgettableStaticMethod()16 public String interactWithForgettableStaticMethod() { 17 return AClassToForget.memorableStaticMethod() + " forget this: " + AClassToForget.forgettableStaticMethod(); 18 } 19 20 } 21