Example #1
0
        public void Insert_Should_Insert_A_Project_Connection()
        {
            _repository
            .Setup(it => it.Insert(It.IsAny <Int32>(), It.IsAny <Int32>()))
            .Returns <Int32, Int32>((projectId, connectionId) =>
            {
                _repositoryList.Add(new  Project_Connection(projectId, connectionId));
            });

            //TODO insert values
            _target.Insert(new Project_Connection(projectId, connectionId));
            //Assert.AreEqual(11, _repositoryList.Count());
            //TODO fail until we update the test above
            Assert.Fail();
        }