@Test(expected = ImmutableViolationException.class)
public void testSaveFactTwiceThrowsException() {

  FactEntity entity = createFact(createAndSaveFactType().getId());
  getFactManager().saveFact(entity);
  getFactManager().saveFact(entity);
}