### Question:
AssertionServiceImpl implements AssertionService { @Override public List<Assertion> findAll() { return assertionRepo.findAll(); }  @Override void delete(final Assertion assertion); @Override List<Assertion> findAll(); @Override Assertion find(final Long id); @Override Assertion findAssertionByUUID(final UUID uuid); @Override List<AssertionTest> getAssertionTests(final Assertion assertion); @Override Assertion addTest( Assertion assertion, final Test test); @Override Assertion addTests(final Assertion assertion, final Collection<Test> tests); @Override Assertion deleteTest(final Assertion assertion, final Test test); @Override Assertion deleteTests(final Assertion assertion, Collection<Test> tests); @Override Long count(); @Override AssertionGroup addAssertionToGroup(final Assertion assertion, final AssertionGroup group); @Override AssertionGroup removeAssertionFromGroup(final Assertion assertion, final AssertionGroup group); @Override List<Assertion> getAssertionsByKeyWords(String keyWord, boolean exactMatched); @Override AssertionGroup getAssertionGroupByName(final String groupName); @Override List<AssertionGroup> getAssertionGroupsByNames( final List<String> groupNames); @Override List<AssertionGroup> getAllAssertionGroups(); @Override Assertion create(Assertion assertion); @Override Assertion save(Assertion assertion); @Override List<Test> getTests(Assertion assertion); @Override List<Test> getTestsByAssertionId(Long assertionId); @Override List<AssertionGroup> getGroupsForAssertion(Assertion assertion); @Override List<AssertionGroup> getGroupsForAssertion(Long assertionId); @Override Assertion getAssertionByUuid(UUID uuid); @Override AssertionGroup createAssertionGroup(AssertionGroup group);  }### Answer:
@Test public void testFindAll() throws Exception { try { assert assertionService.findAll().contains(assertion); } catch (final Exception e) { fail("No exception expected but got " + e.getMessage()); } }