public void Cleanup()
 {
     Loggi.DebugEnabled = false;
     Config.Put(FixtureBook.ExceptionEditorKey, null);
     FixtureBook.InitDefaultExceptionEditors();
     FixtureBook.UnregisterDefaultExceptionEditor <SystemException>();
     FixtureBook.UnregisterDefaultExceptionEditor <ApplicationException>();
 }
        public void RegisterDefaultExceptionEditorは設定ファイルからも登録できる()
        {
            // when
            Config.Put(FixtureBook.ExceptionEditorKey, "XPFriend.FixtureTest.ExceptionEditors");
            FixtureBook.InitDefaultExceptionEditors();

            // then
            FixtureBook.ExpectThrown <SystemException>(() => { throw new SystemException("sys"); });
            FixtureBook.ExpectThrown <ApplicationException>(() => { throw new ApplicationException("app"); });
        }