@Test
public void testGetDepth() throws Exception {

	Assert.assertEquals("Invalid depth for Exception", 0, resolver.getDepth("java.lang.Exception", new Exception()));
	Assert.assertEquals("Invalid depth for IllegalArgumentException", 2,
			resolver.getDepth("java.lang.Exception", new IllegalArgumentException()));
	Assert.assertEquals("Invalid depth for IllegalStateException", -1,
			resolver.getDepth("IllegalArgumentException", new IllegalStateException()));
}