@Test
public void interruptedPathShouldFail() {

	final String path = "patch.value.value.config";
	try {
		assertEquals(Collections.emptyMap(), StructHelper.get(map, path, Map.class));
		fail("Should have thrown an IllegalArgumentException");
	} catch (IllegalArgumentException e) {
		// expected
		final String message = e.getMessage();
		assertEquals("'value' is not a child of 'patch.value.value'. Known children: 'name', " +
				"'typed_config'", message);
	}
}