1 3 package test.jmock.core; 4 5 public interface DummyInterface 6 { 7 void noArgVoidMethod() throws Throwable ; 8 9 String noArgMethod(); 10 11 String oneArgMethod( String arg1 ); 12 13 String twoArgMethod( String arg1, String arg2 ) throws Throwable ; 14 15 final String METHOD_NOARGVOID_NAME = "noArgVoidMethod"; 16 final Object [] METHOD_NOARGVOID_ARGS = new Object [0]; 17 18 final String METHOD_NOARG_NAME = "noArgMethod"; 19 final Object [] METHOD_NOARG_ARGS = new Object [0]; 20 final String METHOD_NOARG_RESULT = "resultNoArgs"; 21 22 final String METHOD_ONEARG_NAME = "oneArgMethod"; 23 final String [] METHOD_ONEARG_ARGS = new String []{"oneP1"}; 24 final String METHOD_ONEARG_RESULT = "result1Args"; 25 26 final String METHOD_TWOARG_NAME = "twoArgMethod"; 27 final String [] METHOD_TWOARG_ARGS = new String []{"twoP1", "twoP2"}; 28 final String METHOD_TWOARG_RESULT = "resultTwoArgs"; 29 30 } 31 | Popular Tags |