fork download
  1. unexpected invocation: printStream.println("Do you want to process standard (I)nput, or a (F)ile? I/F")
  2. no expectations specified: did you...
  3. - forget to start an expectation with a cardinality clause?
  4. - call a mocked method to specify the parameter of an expectation?
  5. what happened before this: nothing!
  6. at org.jmock.internal.InvocationDispatcher.dispatch(InvocationDispatcher.java:56)
  7. at org.jmock.Mockery.dispatch(Mockery.java:218)
  8. at org.jmock.Mockery.access$000(Mockery.java:43)
  9. at org.jmock.Mockery$MockObject.invoke(Mockery.java:258)
  10. at org.jmock.internal.InvocationDiverter.invoke(InvocationDiverter.java:27)
  11. at org.jmock.internal.FakeObjectMethods.invoke(FakeObjectMethods.java:38)
  12. at org.jmock.lib.legacy.ClassImposteriser$4.invoke(ClassImposteriser.java:137)
  13. at $java.io.PrintStream$$EnhancerByCGLIB$$316bb3f2.println(<generated>)
  14. at main.promptStringOrFile(main.java:46)
  15. at main.main(main.java:16)
  16. at UnitTests$2.<init>(UnitTests.java:53)
  17. at UnitTests.EnsureFileCheckExists(UnitTests.java:52)
  18. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  19. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  20. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  21. at java.lang.reflect.Method.invoke(Method.java:597)
  22. at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
  23. at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
  24. at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
  25. at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
  26. at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
  27. at org.junit.runners.BlockJUnit4ClassRunner.runNotIgnored(BlockJUnit4ClassRunner.java:79)
  28. at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:71)
  29. at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:49)
  30. at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
  31. at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
  32. at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
  33. at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
  34. at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
  35. at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
  36. at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:50)
  37. at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
  38. at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
  39. at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
  40. at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
  41. at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
  42.  
Not running #stdin #stdout 0s 0KB
stdin
Standard input is empty
stdout

Standard output is empty