public static Specification<PerfTest> createdBy(final User user) {
		return (Specification<PerfTest>) (root, query, cb) -> cb.or(cb.equal(root.get("createdBy"), user));
	}
Get createBy {@link Specification} to get the {@link PerfTest}s whose creator is the given user.

@param user user
@return {@link Specification}
ngrinder-controller/src/main/java/org/ngrinder/perftest/repository/PerfTestSpecification.java