/** Tests the toString behavior. */
 @Test
 public void testToString() {
   InstructionsResult resultTable = new InstructionsResult();
   resultTable.setInstruction("MyInst");
   assertEquals("MyInst results: null", resultTable.toString());
   resultTable.setResult("ok");
   assertEquals("MyInst results: ok", resultTable.toString());
 }
 /** Tests the adding and accessing of InstructionExpectation. */
 @Test
 public void testInstructionExpectionManagment() {
   InstructionsResult result = new InstructionsResult();
   assertNotNull(
       "Expecting min an empty List of InstructionExpectation",
       result.getInstructionExpectations());
   assertTrue(
       "Expecting an empty list as init value ", result.getInstructionExpectations().isEmpty());
   result.addExpectation(new InstructionExpectation());
   assertFalse(
       "Expecting an empty list as init value ", result.getInstructionExpectations().isEmpty());
 }