public void CreateReturnsCorrectResult()
        {
            Action dummy = delegate { };
            var sut = new MissingParametersSupplyingStaticMethodFactory();

            var result = sut.Create(dummy.Method);

            var expected = new MissingParametersSupplyingMethod(new StaticMethod(dummy.Method));
            Assert.Equal(expected, result);
        }
 public void CreateWithNullThrows()
 {
     var sut = new MissingParametersSupplyingStaticMethodFactory();
     Assert.Throws<ArgumentNullException>(() => sut.Create(null));
 }