assertEquals("mathError", outcome);
}
@Test()
public void testRandomException() {
Calculator mockCalc = EasyMock.createMock(Calculator.class);
EasyMock.expect(mockCalc.divide(10, 10)).andThrow(new RuntimeException("random error"));
EasyMock.replay(mockCalc);
calcController.setCalculator(mockCalc);
calcController.setFirstNumber(10);