@Test(expectedExceptions = IllegalArgumentException.class,
      expectedExceptionsMessageRegExp = ".*parse.*ObjectName.*")
public void objectNameConversionFailed() {

    converter.convertFromString(ObjectName.class.getName(),"bla:blub:InvalidName");
}