@Test
    public void shouldGenerateNiceErrorOnConversionOfJunkToInt() {
        exceptionRule.expect(IllegalArgumentException.class);
        exceptionRule.expectMessage("Expected an id that is convertible to");
        final TinkerGraph.IdManager manager = TinkerGraph.DefaultIdManager.INTEGER;
        manager.convert(UUID.randomUUID());
    }
@author Stephen Mallette (http://stephen.genoprime.com)
tinkergraph-gremlin/src/test/java/org/apache/tinkerpop/gremlin/tinkergraph/structure/IdManagerTest.java