@Test(expected = SW360Exception.class)
public void testAssertIdsFails() throws SW360Exception {

    Set<ObjectWithId> set = Sets.newHashSet(new ObjectWithId(true), new ObjectWithId(false), new ObjectWithId(true));
    SW360Assert.assertIdsUnset(set, o -> o.isSet());
}