@Test public void testGetId() { assertEquals( "Should be same id as initialized in c" + "onstuctor", "Student1", studentAccessTest.getId()); }
@Test public void testSubmitAssignment() { assertTrue(!studentAccessTest.submitted); try { studentAccessTest.submitAssignment("./res/TAList.txt"); } catch (FileNotFoundException e) { fail("could not submit file"); } assertTrue(studentAccessTest.submitted); }