public void Initialize()
 {
     mock_context = new Mock<CalcContext>();
     mock_set = new Mock<DbSet<Constant>>();
     repository = new CalcRepository(mock_context.Object);
 }
 public void Cleanup()
 {
     mock_context = null;
     mock_set = null;
     repository = null;
 }