def testGet(self):
    self.mox.StubOutWithMock(self.settings, '_GetExternalPem')
    self.mox.StubOutWithMock(self.settings, '_GetExternalValue')
    self.settings._GetExternalPem('foo_pem').AndReturn(0)
    self.settings._GetExternalValue('foo_item').AndReturn(1)
    self.mox.ReplayAll()
    self.assertEqual(0, getattr(self.settings, 'foo_pem'))
    self.assertEqual(1, getattr(self.settings, 'foo_item'))
    self.mox.VerifyAll()
Test _Get().
dataset/ETHPy150Open google/simian/src/tests/simian/settings_test.py/FilesystemSettingsTest.testGet