public void EnsuresThatTileDoesNotExistsBeforeCreateTile()
        {
            _tile.Setup(t => t.CanCreate(ID))
                .Returns(false);

            var target = new ViewCardViewModel(_navigation.Object, _cardProvider.Object, _tile.Object,
                _statistics.Object, From.MainPage, ID);

            Assert.False(target.CreatePinCommand.CanExecute(null));
        }
        public void CantPinEmptyCard()
        {
            _cardProvider.Setup(c => c.GetById(It.IsAny<int>()))
                .Returns<Card>(null);

            var target = new ViewCardViewModel(_navigation.Object, _cardProvider.Object, _tile.Object,
                _statistics.Object, From.MainPage, ID);

            Assert.IsFalse(target.CreatePinCommand.CanExecute(null));
        }