public void Initialize() { mock_post_table = new Mock <DbSet <Post> >(); mock_context = new Mock <DelagramContext>(); // { CallBase = true}; Repo = new DelagramRepository(mock_context.Object); // mock_context.Object gives me an instance of what's in angle brakcets post_datasource = new List <Post>(); post_data = post_datasource.AsQueryable(); }
public void RepoEnsureICanCreateAnInstance() { DelagramRepository repo = new DelagramRepository(); Assert.IsNotNull(repo); }