@Test
public void testSetDueDate() throws Exception {

    mDueDatePicker.setDueDate(DateUtils.createPastDate());
    mDueDatePicker.date().subscribe(date -> {
        assertEquals("10/10/2000", DateUtils.formatDate(date));
    });
    assertDueDateSelected(mDayPicker);
}