我们写Test Class的时候往往都需要指定一个uesr去run test method. TestUserHelper类如下: public class TestUserHelper { public static User createUserByPermission(String permissionSetName) { Profile pfl = [select id from profile where name='System Administrator'];//the profi…