### Question:
ExecuteActivity implements JavaDelegate { protected BuildingBlock buildBuildingBlock(String activityName) { return new BuildingBlock().setBpmnFlowName(activityName).setMsoId(UUID.randomUUID().toString()).setKey("") .setIsVirtualLink(false).setVirtualLinkKey(""); }  @Override void execute(DelegateExecution execution);  }### Answer:
@Test public void buildBuildingBlock_Test() { BuildingBlock bb = executeActivity.buildBuildingBlock("testActivityName"); assertEquals(bb.getBpmnFlowName(), "testActivityName"); assertEquals(bb.getKey(), ""); }