@Test
 public void testLoadNoComponentCustomBlock() throws FlowExecutionException {
   ActionBlock action =
       initStrategy.loadCustomBlock("org.neuro4j.workflow.spring.CustomBlockNoComponent");
   FlowContext context = new FlowContext();
   assertEquals(1, action.execute(context));
   assertEquals("somevalue", context.get("somekey"));
 }
 @Test
 public void testCustomBlock() {
   try {
     CustomBlockWithService cb =
         (CustomBlockWithService)
             initStrategy.loadCustomBlock(CustomBlockWithService.class.getCanonicalName());
     cb.execute(new FlowContext());
   } catch (Exception e) {
     Logger.error(e.getMessage(), e);
     fail();
   }
 }
 public void testLoadCustomBlock() throws FlowExecutionException {
   CustomBlockWithService block =
       (CustomBlockWithService)
           initStrategy.loadCustomBlock("org.neuro4j.workflow.spring.CustomBlockWithService");
   assertThat(block.service, instanceOf(MyMessageService.class));
 }
 @Test(expected = FlowExecutionException.class)
 public void testWrongCustomBlock() throws FlowExecutionException {
   initStrategy.loadCustomBlock("someclass1.class");
 }