/**
  * Test if the getter/setter for the initial context works.
  *
  * @return void
  */
 public function testInjectGetInitialContext()
 {
     // define the methods to mock
     $methodsToMock = array('getClassLoader', 'newInstance', 'newService', 'getAttribute', 'getSystemConfiguration');
     // create a mock instance
     $mockInitialContext = $this->getMock('TechDivision\\Application\\Interfaces\\ContextInterface', $methodsToMock);
     // check if the passed instance is equal to the getter one
     $this->application->injectInitialContext($mockInitialContext);
     $this->assertEquals($mockInitialContext, $this->application->getInitialContext());
 }