private void SetUpTestData()
 {
     _mockUser = RandomDataGenerator.GenerateUser();
 }
        public void Insert()
        {
            SetUpTestData();
            IBaseRepository<User> repo = InitializeRepo();

            _mockUser = repo.Add(_mockUser);

            _mockUser.Should().NotBeNull();
            _mockUser.Id.Should().NotBe(0);
            _mockUser.PublishCode.Should().BeNull();
            _userId = (long)_mockUser.Id;
        }
        private void SetUpTestData()
        {
            _mockUser = new User()
            {
                IsVip = false,
                PublishCode = "some test publish code",
                Username = "******"
            };

            _mockUser = DataManager.GetDataManager().CreateInstance<User>().Add(_mockUser);
            _mockHaiku = RandomDataGenerator.GenerateHaiku();
        }