title: Testing with mocks and without Mocks, time of tests
body: <p>I am learning TDD and I have some doubts when usings Mocks with mockito and junit.</p>
  
  <pre><code>Without mocks:   
  Contacto contacto = new Contacto("Santiago", "3022653192", "santi-1524@hotmail.com");
          agenda.agregarContacto(contacto);
          Assert.assertEquals(1, agenda.getSizeOfAgenda());
          agenda.agregarContacto(contacto);
  With mocks:
          Mockito.verify(agenda).agregarContacto(contacto);
          Mockito.when(agenda.getSizeOfAgenda()).thenReturn(1);
          Assert.assertEquals(1, agenda.getSizeOfAgenda());
  </code></pre>
  
  <p>if I do the test without the mocks it takes less time than doing the test with Test for example: 2ms vs 356ms.</p>
  
  <p>what are the benefits of doing the test with Mockito in this case?</p>