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

  getOriginManager().saveOrigin(createOrigin("origin"));
  getOriginManager().saveOrigin(createOrigin("origin"));
}