use of com.alexstyl.specialdates.contact.Contact in project Memento-Calendar by alexstyl.
the class ContactActionTest method testContactCorrectContactIsReturned.
@Test
public void testContactCorrectContactIsReturned() {
Date date = Date.Companion.on(1, JANUARY, 2016);
ArrayList<ContactEvent> contactEvent = new ArrayList<>();
contactEvent.add(EVENT_ONE);
ContactEventsOnADate events = ContactEventsOnADate.Companion.createFrom(date, contactEvent);
List<Contact> contacts = events.getContacts();
assertThat(contacts.get(0)).isEqualTo(CONTACT_ONE);
}
Aggregations