@SuppressWarnings("unused") @Mock(invocations = 8) public void flush() { System.out.println("Check input#" + fastScannerMockUp.getCurrInput()); int expectedResult = expectedResults[fastScannerMockUp.getCurrInput()]; assertEquals(expectedResult, actualResult); fastScannerMockUp.switchInput(); }
@SuppressWarnings("unused") @Mock(invocations = 8) public void print(int i) { System.out.println("Result for input#" + fastScannerMockUp.getCurrInput() + " = " + i); actualResult = i; }