public void RequestFriendTest() { PC.AddFriend(LoggedInPerson.PersonId, FriendPerson.PersonId); string s = "MATCH (a:Person {PersonId: " + LoggedInPerson.PersonId + "})-[r:FriendPending]->(b:Person {PersonId: " + FriendPerson.PersonId + "}) return a"; var r2 = Db.ConnectDb("MATCH (a:Person {PersonId: " + LoggedInPerson.PersonId + "})-[r:FriendPending]->(b:Person {PersonId: " + FriendPerson.PersonId + "}) return a");; r2.Wait(); var result = r2.Result; Assert.True(result.Count == 1); }