public void Next() { var TestObject = new InterfaceGenerator(); ITestInterface Result = (ITestInterface)TestObject.Next(typeof(TestClass).GetMethod("TestMethod").GetParameters()[0]); Result.Value.Should().NotBeNull(); Result.Method().Returns(1); Result.Method().Should().Equals(1); }