### Question:
DefaultInstructionPackage implements InstructionPackage { @Override public InstructionStatus execute(final PluginContext context) { context.addPlaceholderData(properties); if (instructions == null) { instructions = getInstructions(); } if (instructions == null) { eventBus.post(new DisplayEvent("Couldn't parse instructions")); log.error("Failed to parse instructions"); return InstructionStatus.FAILED; } final Set<InstructionSet> instructionSets = instructions.getInstructionSets(); InstructionStatus status = InstructionStatus.SUCCESS; final InstructionExecutor executor = new PluginInstructionExecutor(); final Set<String> myGroupNames = groupNames(); for (InstructionSet instructionSet : instructionSets) { final Set<String> groups = instructionSet.getGroups(); for (String group : groups) { if (myGroupNames.contains(group)) { if (status == InstructionStatus.FAILED) { executor.execute(instructionSet, context); continue; } status = executor.execute(instructionSet, context); } else { log.debug("Skipping instruction group for name: [{}]", group); } } } return status; }  @Override Map<String, Object> getProperties(); @Override void setProperties(final Map<String, Object> properties); @Override Set<String> groupNames(); @Override Multimap<MessageGroup, ? extends Restful> getInstructionsMessages(final PluginContext context); @Override String getInstructionPath(); @Override void setInstructionPath(final String path); @Override Instructions getInstructions(); @Override InstructionStatus execute(final PluginContext context); @Override InstructionParser getInstructionParser(); @Override EventBus getEventBus();  }### Answer:
@Test(expected = IllegalArgumentException.class) public void testInstructionPackageNoInjection() throws Exception { InstructionPackage instructionPackage = new DefaultInstructionPackage(); instructionPackage.execute(getContext()); }