1 00:00:00,000 --> 00:00:02,065 [No Audio] 2 00:00:02,065 --> 00:00:04,115 And so at this point we could iterate and feed that 3 00:00:04,115 --> 00:00:06,764 back into our design and maybe evolve this a little bit 4 00:00:06,764 --> 00:00:08,971 more to make it a bit more robust. Putting a try 5 00:00:08,971 --> 00:00:11,660 catch or catching specific exceptions or working 6 00:00:11,660 --> 00:00:13,703 out basically how we want to propagate the exception 7 00:00:13,703 --> 00:00:16,500 should this method here, have a throws clause, 8 00:00:16,500 --> 00:00:18,758 for example, which throws a checked exception which 9 00:00:18,758 --> 00:00:21,558 would cause any color of it here to have to surround 10 00:00:21,558 --> 00:00:24,094 it in a try catch block those kinds of things. 11 00:00:24,094 --> 00:00:26,384 But that's going off into API design which 12 00:00:26,384 --> 00:00:27,824 is outside the scope of this course. 13 00:00:27,824 --> 00:00:29,583 But you get the idea. But the really 14 00:00:29,583 --> 00:00:31,479 cool things about Mockito, though, is the fact that it 15 00:00:31,479 --> 00:00:34,361 enables you to test different scenarios and really 16 00:00:34,361 --> 00:00:36,188 put your production code through its paces in a 17 00:00:36,188 --> 00:00:38,272 really intuitive and easy to use API.