`Assert.isInstanceOf(AbstractApplicationContext.class, applicationContext)` ?