@Test public void shouldPassArgumentsFromP129ToAtSelectorPutMethod() { PrimContext context = mock(PrimContext.class); PrimObject aClass = new PrimObject(); PrimObject spy = spy(aClass); doReturn(mock(PrimObject.class)).when(spy).atSelectorPut(spy, context); spy.p129(spy, context); }