testng: distinguish methods processed by factory