public void CardExpirationShortFormat() { CardExpirationShort = CardExpiration.ToString("MM/yy"); }
public void ToString_GivenACreditCardWithYear2020AndMonth08_ShouldReturnMMSlashYYYY() { var expiration = new CardExpiration(2020, 08); expiration.ToString().Should().Be("08/2020"); }