private void InitializeTestData(out Comment comment) { var commentBuilder = new CommentBuilder(); comment = commentBuilder.WithId(new Guid("fec459ec-ede8-4ab9-b0e2-b3819f0a09b9")).WithName("CommentAuthor1") .WithBody("Comment body1") .WithGameId(new Guid("2245390a-6aaa-4191-35f5-08d7223464b8")) .Build(); }
private void InitializeTestData(out Game game, out Comment comment) { var gameBuilder = new GameBuilder(); var commentBuilder = new CommentBuilder(); game = gameBuilder.WithId(new Guid("2245390a-6aaa-4191-35f5-08d7223464b8")).WithKey("c21") .WithName("Cry Souls").WithDescription("Cry Souls desc").WithUnitsInStock(10).WithPrice(10) .WithPublisher("Unknown").Build(); comment = commentBuilder.WithId(new Guid("fec459ec-ede8-4ab9-b0e2-b3819f0a09b9")).WithName("CommentAuthor1") .WithBody("Comment body1") .WithGameId(new Guid("2245390a-6aaa-4191-35f5-08d7223464b8")) .Build(); }