@Test public void testAddProcedure () { String PROCEDURE_NAME = "procedure name"; Procedure procedure = new Procedure (PROCEDURE_NAME); Instructions instructions = new Instructions (null, null); instructions.addProcedure (procedure); assertTrue (instructions.getExecutor (PROCEDURE_NAME) instanceof ProcedureExecutor); }
void addProcedure (Procedure procedure) { mProcedures.add (procedure); }
Instructions { void addProcedure (Procedure procedure) { mProcedures.add (procedure); } }
Instructions { void addProcedure (Procedure procedure) { mProcedures.add (procedure); } Instructions(ProcedureRunner runner, TestRunResultPublisher publisher); }
Instructions { void addProcedure (Procedure procedure) { mProcedures.add (procedure); } Instructions(ProcedureRunner runner, TestRunResultPublisher publisher);  }
Instructions { void addProcedure (Procedure procedure) { mProcedures.add (procedure); } Instructions(ProcedureRunner runner, TestRunResultPublisher publisher);   }