public void ThrowsOnNullString() { string s = null; Assert.Throws<ArgumentNullException>(() => new LinkedResource(s)); }