PersonTest.java 431B

1234567891011121314151617181920
  1. package com.zipcodewilmington.generic.identifiables;
  2. import org.junit.Assert;
  3. import org.junit.Test;
  4. /**
  5. * @author leon on 06/12/2018.
  6. */
  7. public class PersonTest {
  8. @Test
  9. public void testImplementation() {
  10. Assert.assertTrue(new Person() instanceof IdentifiableInterface);
  11. }
  12. @Test
  13. public void testGetIdentityType() {
  14. Assert.assertEquals(new Person().getIdentityType(), String.class);
  15. }
  16. }