@Test
public void shouldFailIfDuplicateNames() throws Exception {

    final List<Share> sharesWithoutDuplicateDebtors = Arrays.asList(randomShare(matthias), randomShare(matthias));
    final boolean result = sut.isValid(sharesWithoutDuplicateDebtors, validatorContextMock);
    assertFalse(result);
}