Ejemplo n.º 1
0
        public void CannotCreatePointWhenCardIdIsEmpty()
        {
            // arrange
            SetUp();
            _point.CardId = 0;

            // act
            var result = service.PointCard(_point);

            // assert
            Assert.False(result);
            _pointCommandsMock.Verify(x => x.CreatePoint(It.IsAny <Point>()), Times.Never);
        }