public void Try_SaveCloudContract() { try { var n = new CloudContract() { Id = "TestCloudContract", Publisher = "me" }; var res = DiscoProvider .CloudContracts .SaveCloudContract(n); Console.WriteLine("Saved CloudContract [{0}]", res.Id); FxLog <DiscoTestFixture> .DebugFormat("Saved CloudContract [{0}]", res.Id); } catch (Exception exception) { FxLog <DiscoTestFixture> .ErrorFormat(exception.GetCombinedMessages()); Assert.Fail(exception.Message); } }
public void Try_ErrorLogging() { FxLog <DomainTestFixture> .ErrorFormat("This an Error Message."); }