Attaches setupmethod to testmethod1(, testmethod2,...). The setupmethod is called after setup called, before testmethod1(, testmethod2,...) called.
Invokes setupmethod which is attached to testmethod. If no method attached, then do nothing.