1 00:00:00,000 --> 00:00:02,228 [No Audio] 2 00:00:02,228 --> 00:00:04,102 Now at this point, we don't need this anymore. 3 00:00:04,102 --> 00:00:05,794 So this code we had here before, we don't 4 00:00:05,794 --> 00:00:07,880 need and you can see that all the different 5 00:00:07,880 --> 00:00:10,294 assertions we had to do here, after we've retrieved 6 00:00:10,294 --> 00:00:12,848 the individual element, we had to repeat these. 7 00:00:12,848 --> 00:00:14,672 And so each time we had to repeat them. 8 00:00:14,672 --> 00:00:16,892 So it's kind of like copy paste kind of thing, 9 00:00:16,892 --> 00:00:19,424 which is not good, whereas the Hamcrest one is 10 00:00:19,424 --> 00:00:22,604 very readable and it really compresses it down, to just 11 00:00:22,604 --> 00:00:24,560 the essence of what we're trying to test for. 12 00:00:24,560 --> 00:00:26,943 [No Audio] 13 00:00:26,943 --> 00:00:29,675 So delete these and we're good to go.