public void SetSite() { // Create the package var package = new VsSonarExtensionPackage() as IVsPackage; Assert.IsNotNull(package, "The object does not implement IVsPackage"); // Unsite the package Assert.AreEqual(0, package.SetSite(null), "SetSite(null) did not return S_OK"); }
public void IsIVsPackage() { var package = new VsSonarExtensionPackage(); Assert.IsNotNull(package, "The object does not implement IVsPackage"); }