public void Void_With_Parameters_Method_Should_Return_The_Method_Name_And_Coma_Delimited_List_Of_Parameter_Types()
        {
            MethodInfo doSomething = ReflectOn<Subject>.ForMethod(x => x.DoSomething(null, null, null));
            ClassMethodDescriptor descriptor = new ClassMethodDescriptor(doSomething);

            Assert.That(descriptor.Key, Is.EqualTo("DoSomething(String, Nullable<DateTime>, Subject)"));
        }
        public void Ignore_Return_Type()
        {
            MethodInfo doSomething = ReflectOn<Subject>.ForMethod(x => x.DoSomething(null));
            ClassMethodDescriptor descriptor = new ClassMethodDescriptor(doSomething);

            Assert.That(descriptor.Key, Is.EqualTo("DoSomething(String)"));
        }
        public void Simple_Parameterless_Void_Method_Should_Return_The_Method_Name()
        {
            MethodInfo doSomething = ReflectOn<Subject>.ForMethod(x => x.DoSomething());
            ClassMethodDescriptor descriptor = new ClassMethodDescriptor(doSomething);

            Assert.That(descriptor.Key, Is.EqualTo("DoSomething()"));
        }