public void CleanUp() { mock_context = null; mock_set = null; mock_jot_set = null; repository = null; }
public void Initialize() { mock_context = new Mock<JitterContext>(); mock_set = new Mock<DbSet<JitterUser>>(); mock_jot_set = new Mock<DbSet<Jot>>(); repository = new JitterRepository(mock_context.Object); }
public void Initialize() { mock_context = new Mock<JitterContext>(); mock_set = new Mock<DbSet<JitterUser>>(); mock_jot_set = new Mock<DbSet<Jot>>(); repository = new JitterRepository(mock_context.Object); test_user = new ApplicationUser { Email = "*****@*****.**", Id = "myid-whoo" }; // Won't auto complete b/c missing using }
public TestController() : base() { Repo = new JitterRepository(); }