public void Write_User() { var writer = new SqlUserWriter(); writer.WriteUserInfo(new UserInfo { Name = "test", FollowerCount = 6, FriendCount = 2, Location = "Here" }); }
public void Write_Friends() { var writer = new SqlUserWriter(); writer.WriteUserInfo(new UserInfo { Name = "test", FollowerCount = 6, FriendCount = 2, Location = "Here" }); writer.WriteFriends("test", new List<UserInfo> { new UserInfo {Name = "friend1"}, new UserInfo {Name = "friend2", Location ="xyz"}, }); }