title: Python mockito tuples
body: <p>I am trying to mock a method that returns a tuple in the below form</p>
  
  <p>(List(List),List(List))</p>
  
  <pre><code>class MockTuples(object):
  def methodReturnsComplexTuple(some dummy arguments):
    return ([['I am a list at index 1']],[['I am a list at index 2']])
  </code></pre>
  
  <p>Below is the mockito class</p>
  
  <pre><code>from mockito import mock, when, verify, any, verifyNoMoreInteractions,unstub
  import unittest
  #Other imports as required
  
  class testMockTuples(unittest.TestCase):
   def setup():
   def tearDown():
   def mockMethodReturnsComplexTuple():
     mocked_class = mock(MockTuples())
     when(mocked_class).methodReturnsComplexTuple(arguments).thenReturn(Place the tuple here)
  </code></pre>
  
  <p>At this point - I am getting the below error</p>
  
  <pre><code>if Ellipsis in args:
  </code></pre>
  
  <p>ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()</p>
  
  <p>How do I approach the mocking for the complex tuple?</p>