@Test(expected = IllegalArgumentException.class)
public void testSaveObjectTypeWithSameNameThrowsException() {

  getObjectManager().saveObjectType(createObjectType("objectType"));
  getObjectManager().saveObjectType(createObjectType("objectType"));
}