public void CreditCard_ShouldReturnValidNumber(CreditCardType type) { // Arrange // Act var result = _sut.CreditCard(type); // Assert Assert.IsNotNull(result); result.Type.ShouldBe(type); }