@Test public void testCreateFollowerRelations() throws Exception { User user = new User(); user.setId(0); user.setScreenName("gosha"); neo4jClient.mergeUser(user); List<Long> followers = new ArrayList<>(); for (long i = 1; i < 200; i++) followers.add(i); neo4jClient.createFollowerRelations(followers, user); }
@Test public void testMergeUser() throws Exception { User user = new User(); user.setId(99); user.setScreenName("gosha"); neo4jClient.mergeUser(user); }
@Test public void testCreateRelation() throws Exception { User from = new User(); from.setId(100); User to = new User(); to.setId(101); neo4jClient.createRelation(from, to); }
@Test public void testGetUserById() throws Exception { User user = neo4jClient.getUserById(114557496); logger.debug("testGetUserById: got {}", user); }