×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Scala
Posted by: Komsit Prakobphol
Added: Sep 19, 2016 10:37 AM
Views: 8
  1.     with com.twitter.inject.Mockito
  2.   //or with org.specs2.mock.Mockito
  3.  
  4.   import org.mockito.Mockito._
  5.   smartMock[MarketService]
  6.   verify(state.market, times(1)).submitOrder(any[Order])