public void TestLoadingErrors() { Assert.Throws<ObjectiveCException>(() => ObjectiveCRuntime.LoadFramework("Cocoa2")); Assert.Throws<ObjectiveCException>(() => ObjectiveCRuntime.LoadFramework("CocoaR")); } }