| 123456789101112131415161718192021222324252627282930 |
- package com.zipcoder.payment;
-
- import org.junit.Test;
-
- import static org.junit.Assert.*;
-
- public class PaypalTest {
-
- @Test
- public void getID() {
- Paypal pay = new Paypal();
- //long ID we are testing
-
- //Given
- long ID = 1234567891;
- //When
- pay.setID(ID);
- //Then
- long actualID = pay.getID();
- assertEquals(ID,actualID);
- }
-
- @Test
- public void getPayerName() {
- }
-
- @Test
- public void getShortDescription() {
- }
- }
|