| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071 |
- package com.zipcoder.payment;
- import org.junit.Assert;
- import org.junit.Test;
- public class CreditCardTest {
-
- @Test
- public void testGetId() {
- CreditCard creditCard = new CreditCard();
- long expected = 12312;
- creditCard.setId(12312);
- long actual = creditCard.getId();
- Assert.assertEquals(expected,actual);
- }
-
- @Test
- public void testSetId(){
- CreditCard creditCard = new CreditCard();
- creditCard.setId(12345);
- long expected = 12345;
- long actual = creditCard.getId();
- Assert.assertEquals(expected,actual);
- // Assert.assertTrue(creditCard.getId()==12345);
- }
-
- @Test
- public void testGetPayerName() {
- }
-
- @Test
- public void testGetShortDescription() {
- }
-
-
-
- @Test
- public void getPayerName() {
- }
-
- @Test
- public void setPayerName() {
- }
-
- @Test
- public void getShortDescription1() {
- }
-
- @Test
- public void getNumber() {
- }
-
- @Test
- public void setNumber() {
- }
-
- @Test
- public void getExpiredMonth() {
- }
-
- @Test
- public void setExpiredMonth() {
- }
-
- @Test
- public void getExpiredYear() {
- }
-
- @Test
- public void setExpiredYear() {
- }
- }
|