Ejemplo n.º 1
0
        public void GivenAnApproval_WhenITryToSaveToTheDatabase_ItIsSavedToTheDatabase()
        {
            int initialCount = _approvalRepository.Entities.Count();

            _approvalRepository.Create(_approval);

            _approvalRepository.Entities.Count().Should().Be(initialCount + 1);
        }