1 package org.robolectric.testing; 2 3 import org.robolectric.annotation.internal.Instrument; 4 5 @SuppressWarnings("UnusedDeclaration") 6 @Instrument 7 public class AClassThatCallsAMethodReturningAForgettableClass { 8 public void callSomeMethod() { 9 AClassToForget forgettableClass = getAForgettableClass(); 10 } 11 12 public AClassToForget getAForgettableClass() { 13 throw new RuntimeException("should never be called!"); 14 } 15 } 16