Unable to return a mock from another mock #9

ftokarev opened this Issue Nov 3, 2011 · 0 comments


None yet
2 participants

ftokarev commented Nov 3, 2011

The code:

val parent = mock[Parent]
parent expects 'getChild returns child

results in:

  at com.borachio.AbstractMockFactory$class.verifyExpectations(AbstractMockFactory.scala:35)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment