- final ListenableFuture<EffectiveModelContext> lf = createSchemaContext(modulesWithSupportedDeviations, FOO, BAR,
- BAZ, FOOBAR);
- assertTrue(lf.isDone());
- final EffectiveModelContext schemaContext = lf.get();
- assertNotNull(schemaContext);
-
- assertAbsent(schemaContext, MY_FOO_CONT_A);
- assertAbsent(schemaContext, MY_FOO_CONT_B);
- assertPresent(schemaContext, MY_FOO_CONT_C);
- assertAbsent(schemaContext, MY_BAR_CONT_A);
- assertPresent(schemaContext, MY_BAR_CONT_B);
+ assertAbsent(context, MY_FOO_CONT_A);
+ assertAbsent(context, MY_FOO_CONT_B);
+ assertPresent(context, MY_FOO_CONT_C);
+ assertAbsent(context, MY_BAR_CONT_A);
+ assertPresent(context, MY_BAR_CONT_B);