public void GetParseMethodFromTypeForInt32()
        {
            MethodInfo parseMethod = StubStringUtility.GetParseMethodFromType(_int32);

            Assert.That(parseMethod, Is.Not.Null);
            Assert.That(parseMethod.Name, Is.EqualTo("Parse"));
            Assert.That(parseMethod.GetParameters().Length, Is.EqualTo(1));
            Assert.That(parseMethod.GetParameters()[0].ParameterType, Is.EqualTo(typeof(string)));
            Assert.That(parseMethod.ReturnType, Is.EqualTo(typeof(int)));
            Assert.That(parseMethod.IsPublic, Is.True);
            Assert.That(parseMethod.IsStatic, Is.True);
        }
 public void GetParseMethodFromTypeForObject()
 {
     Assert.That(StubStringUtility.GetParseMethodFromType(_object), Is.Null);
 }