- public void testDeviateSourceReported() throws Exception {
- final var future = createSchemaContext(null, "/yt1428/orig.yang", "/yt1428/deviate.yang");
- final var cause = assertThrows(ExecutionException.class, () -> Futures.getDone(future)).getCause();
+ public void testDeviateSourceReported() {
+ final var cause = assertExecutionException(null, "/yt1428/orig.yang", "/yt1428/deviate.yang").getCause();