public IssueCommentRowBuilder()
 {
     _issueCommentId = new Random().Next(1, int.MaxValue);
     _comment        = Guid.NewGuid().ToString();
     _likeCount      = new Random().Next(0, int.MaxValue);
     _userBuilder    = new UserRowBuilder();
 }
Exemplo n.º 2
0
 public TvRequestUserRowBuilder()
 {
     _tvRequestUserId = new Random().Next(1, int.MaxValue);
     _season          = new Random().Next(1, int.MaxValue);
     _episode         = new Random().Next(1, int.MaxValue);
     _track           = false;
     _userBuilder     = new UserRowBuilder();
 }
Exemplo n.º 3
0
 public IssueRowBuilder()
 {
     _issueId              = new Random().Next(1, int.MaxValue);
     _title                = Guid.NewGuid().ToString();
     _description          = Guid.NewGuid().ToString();
     _issueStatus          = IssueStatuses.Pending;
     _mediaItemBuilder     = new MoviePlexMediaItemRowBuilder();
     _userBuilder          = new UserRowBuilder();
     _issueCommentBuilders = new List <IssueCommentRowBuilder>();
 }
Exemplo n.º 4
0
 public TvRequestUserRowBuilder WithUser(UserRowBuilder userBuilder)
 {
     _userBuilder = userBuilder;
     return(this);
 }