@Test public void testIsArchive() { assertEquals( "isArchive must return the isArchive value given in " + "the constructor call", isArchiv, cal.isArchive()); }
@Test public void testNewCalendar() { DocumentReference calDocRef = new DocumentReference(context.getDatabase(), "mySpace", "myCalDoc"); cal = new Calendar(calDocRef, isArchiv); assertEquals(calDocRef, cal.getDocumentReference()); assertEquals(isArchiv, cal.isArchive()); }