Question: * TODO: complete the following test using JUnit: public class StudentTest { Student bill; Student ben; Student bob; @Before public void initialize() throws Exception{ bob

* TODO: complete the following test using JUnit:

public class StudentTest {

Student bill;

Student ben;

Student bob;

@Before

public void initialize() throws Exception{

bob = new Student(18, "Bob Maher", new String []{"COSC 222","COSC 311", "MATH 200", "MATH 220"});

bill = new Student(19, "Bill Cosby", new String []{"COSC 222", "COSC 404", "ENGL 112"});

ben = new Student(24, "Ben Mckenny", new String []{"COSC 222", "COSC 111", "MATH 200", "PHYS 101"});

}

@Test

public void testGetClasses() throws Exception {

//TODO: test that the classes array returned is correct

}

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!