test method wrap