@Test
public void testGetClassPathXmlApplicationContextShouldReturnTheSameAppContextForACertainPath() {

    //GIVEN
    ClassPathXmlApplicationContext expected = new ClassPathXmlApplicationContext(SPRING_APP_CONTEXT_PATH);
    Map<String, ClassPathXmlApplicationContext> appContexts = new HashMap<>();
    appContexts.put(SPRING_APP_CONTEXT_PATH, expected);
    Whitebox.setInternalState(underTest, "applicationContexts", appContexts);
    //WHEN
    ClassPathXmlApplicationContext actual = underTest.getClassPathXmlApplicationContext(SPRING_APP_CONTEXT_PATH);
    //THEN
    Assert.assertEquals(actual, expected);
}