@Test
public void gettingTerminalWithImproperExpectedClassShouldFail() {

	try {
		assertEquals(Collections.emptyMap(), StructHelper.get(map, "patch.operation", Map.class));
		fail("Should have thrown a ClassCastException");
	} catch (ClassCastException e) {
		// expected
	}
}