| 123456789101112131415161718192021222324252627 |
- package com.zipcoder.payment;
-
- import org.junit.Assert;
- import org.junit.Before;
- import org.junit.Test;
-
- public class CheckTest {
- private Check testCheck;
-
- @Before
- public void setUp() {
- testCheck = new Check();
- testCheck.setId(12345678910L);
- testCheck.setPayerName("Biggie");
- testCheck.setRoutingNumber("623852453");
- testCheck.setAccountNumber("1234567");
- }
-
- @Test
- public void testId() {
- long expectedId = 12345678910L;
- testCheck.setId(12345678910L);
- Assert.assertEquals(expectedId, testCheck.getId());
- }
-
- }
|