1 package org.robolectric.testing; 2 3 import org.robolectric.annotation.internal.Instrument; 4 5 @SuppressWarnings("UnusedDeclaration") 6 @Instrument 7 public class AClassWithFunnyConstructors { 8 private final AnUninstrumentedParent uninstrumentedParent; 9 private String name; 10 AClassWithFunnyConstructors(String name)11 public AClassWithFunnyConstructors(String name) { 12 this(new AnUninstrumentedParent(name), "foo"); 13 this.name = name; 14 } 15 AClassWithFunnyConstructors(AnUninstrumentedParent uninstrumentedParent, String fooString)16 public AClassWithFunnyConstructors(AnUninstrumentedParent uninstrumentedParent, String fooString) { 17 this.uninstrumentedParent = uninstrumentedParent; 18 } 19 } 20