@Test
public void testGetFactTypeByIdTwiceReturnsSameInstance() {

  FactTypeEntity entity = createAndSaveFactType();
  FactTypeEntity type1 = getFactManager().getFactType(entity.getId());
  FactTypeEntity type2 = getFactManager().getFactType(entity.getId());
  assertSame(type1, type2);
}