}
public void testOffice()throws Exception
{
System.out.println("****************** TEST OFFICE ******************");
OfficeManager officeManager = new OfficeManager();
Computer compA = officeManager.createComputer("comp A");
//officeManager.createComputer("comp B");
Developer kabir = officeManager.createDeveloper("Kabir");
officeManager.assignComputer(compA, kabir);
Developer bill = officeManager.createDeveloper("Bill");
Computer compB = officeManager.createComputer("comp B");
officeManager.assignComputer(compB, bill);
try
{
officeManager.createDeveloper(null);
if (true)throw new Exception("Did not validate developer null name");
}
catch(RuntimeException e)
{
}