public void WhenCreatingPatternForNullSender_ThenThrows() { Assert.Throws<ArgumentNullException>(() => EventPattern.Create(null, EventArgs.Empty)); }