Searched refs:Pony (Results 1 – 3 of 3) sorted by relevance
11 import org.robolectric.testing.Pony;18 assertEquals("Off I saunter to the salon!", new Pony().saunter("the salon")); in whenShadowHandlerIsInRealityBasedMode_shouldNotCallRealForUnshadowedMethod()21 @Implements(Pony.class)22 public static class ShimmeryShadowPony extends Pony.ShadowPony {
22 import org.robolectric.testing.Pony;131 @SandboxConfig(shadows = {Pony.ShadowPony.class})133 Pony pony = new Pony(); in directlyOn_shouldCallThroughToOriginalMethodBody()136 assertEquals("Whinny! You're on my neck!", Shadow.directlyOn(pony, Pony.class).ride("neck")); in directlyOn_shouldCallThroughToOriginalMethodBody()142 @SandboxConfig(shadows = {Pony.ShadowPony.class})144 assertEquals("Off I saunter to the salon!", new Pony().saunter("the salon")); in shouldCallRealForUnshadowedMethod()
8 public class Pony { class9 public Pony() { in Pony() method in Pony24 @Implements(Pony.class)