()
| 49 | |
| 50 | /* Assign a new call to an employee, if the employee is free. */ |
| 51 | public boolean assignNewCall() { |
| 52 | if (!isFree()) { |
| 53 | return false; |
| 54 | } |
| 55 | return CallHandler.getInstance().assignCall(this); |
| 56 | } |
| 57 | |
| 58 | /* Returns whether or not the employee is free. */ |
| 59 | public boolean isFree() { |
no test coverage detected