public void AddInstance_ThrowsException_OnThisNull() { try { CompositionContainer container = null; container.AddInstance <object>(null); Assert.Fail(); } catch { } }