### Question:
SimpleUserSystemServiceHelper { public static UserGroupInfo buildInfo(Path users, Path skills, Path affinities) throws IOException { try (InputStream usersIn = Files.newInputStream(users); InputStream skillsIn = skills != null ? Files.newInputStream(skills) : null; InputStream affinitiesIn = affinities != null ? Files.newInputStream(affinities) : null) { return buildInfo(usersIn, skillsIn, affinitiesIn); } } private  SimpleUserSystemServiceHelper(); static UserGroupInfo buildInfo(Path users, Path skills, Path affinities); static UserGroupInfo buildInfo(InputStream usersIn, InputStream skillsIn, InputStream affinitiesIn); static final String SKILLS_ATTRIBUTE_NAME; static final String AFFINITIES_ATTRIBUTE_NAME; }### Answer:
@Test public void buildInfoFromPath() throws Exception { assertUserGroupInfo(SimpleUserSystemServiceHelper.buildInfo(getTestFile(RESOURCES, USERS_FILE).toAbsolutePath(), getTestFile(RESOURCES, SKILLS_FILE).toAbsolutePath(), getTestFile(RESOURCES, AFFINITIES_FILE).toAbsolutePath())); }
@Test public void buildFromInputStream() throws Exception { InputStream inUsers = SimpleUserSystemServiceHelperTest.class.getResourceAsStream(USERS_FILE); InputStream inSkills = SimpleUserSystemServiceHelperTest.class.getResourceAsStream(SKILLS_FILE); InputStream inAffinities = SimpleUserSystemServiceHelperTest.class.getResourceAsStream(AFFINITIES_FILE); try { assertUserGroupInfo(SimpleUserSystemServiceHelper.buildInfo(inUsers, inSkills, inAffinities)); } finally { inUsers.close(); inSkills.close(); inAffinities.close(); } }