'Test thet preApplication and postApplication methods are
called by ApplicationRunner.run() when appropriate.'

def test_preAndPostApplication(self):

    s = TestApplicationRunner(self.config)
    s.run()
    self.assertFalse(s.hadApplicationPreApplication)
    self.assertTrue(s.hadApplicationPostApplication)
    self.assertTrue(s.hadApplicationLogObserver)
    self.assertEqual(s.order, ['pre', 'log', 'post'])
