@Test
  public void testLoadPropertiesActionParser() {
    assertActionCount(1);
    assertActionClassAndName(LoadPropertiesAction.class, "load");

    LoadPropertiesAction action = getNextTestActionFromTest();
    Assert.assertEquals(action.getFile(), "classpath:com/consol/citrus/actions/load.properties");
  }
  @Test
  public void TestLoadBuilder() {
    MockBuilder builder =
        new MockBuilder(applicationContext) {
          @Override
          public void configure() {
            load("classpath:test.properties");
          }
        };

    builder.run(null, null);

    Assert.assertEquals(builder.testCase().getActions().size(), 1);
    Assert.assertEquals(
        builder.testCase().getActions().get(0).getClass(), LoadPropertiesAction.class);

    LoadPropertiesAction action = (LoadPropertiesAction) builder.testCase().getActions().get(0);
    Assert.assertEquals(action.getName(), "load");
    Assert.assertEquals(action.getFilePath(), "classpath:test.properties");
  }