@Test
public void testGetPropertyNameFromBeanReadMethod() throws Exception {

    Method method = TestReflect.class.getMethod("getS");
    Assert.assertEquals("s", getPropertyNameFromBeanReadMethod(method));
    method = TestReflect.class.getMethod("getName");
    Assert.assertEquals("name", getPropertyNameFromBeanReadMethod(method));
    method = TestReflect.class.getMethod("isB");
    Assert.assertEquals("b", getPropertyNameFromBeanReadMethod(method));
    method = TestReflect.class.getMethod("is");
    Assert.assertNull(getPropertyNameFromBeanReadMethod(method));
}