@Test public void postDesiralizeAddScenarioIndexBackgroundScenarioTest() { Element element = new Element(); assertThat(element.getScenarioIndex(), is(0)); elementJsonPostProcessor.postDeserialize(element, null, null); assertThat(element.getScenarioIndex(), is(0)); }
@Override public void postDeserialize(final Element element, final JsonElement jsonElement, final Gson gson) { element.setFailOnPendingOrUndefined(propertyManager.isFailScenariosOnPendingOrUndefinedSteps()); processAttachments(element); }
ElementJsonPostProcessor implements PostProcessor<Element> { @Override public void postDeserialize(final Element element, final JsonElement jsonElement, final Gson gson) { element.setFailOnPendingOrUndefined(propertyManager.isFailScenariosOnPendingOrUndefinedSteps()); processAttachments(element); } }
ElementJsonPostProcessor implements PostProcessor<Element> { @Override public void postDeserialize(final Element element, final JsonElement jsonElement, final Gson gson) { element.setFailOnPendingOrUndefined(propertyManager.isFailScenariosOnPendingOrUndefinedSteps()); processAttachments(element); } @Inject  ElementJsonPostProcessor(
            final PropertyManager propertyManager,
            final FileIO fileIO,
            final CluecumberLogger logger
    ); }
ElementJsonPostProcessor implements PostProcessor<Element> { @Override public void postDeserialize(final Element element, final JsonElement jsonElement, final Gson gson) { element.setFailOnPendingOrUndefined(propertyManager.isFailScenariosOnPendingOrUndefinedSteps()); processAttachments(element); } @Inject  ElementJsonPostProcessor(
            final PropertyManager propertyManager,
            final FileIO fileIO,
            final CluecumberLogger logger
    ); @Override void postDeserialize(final Element element, final JsonElement jsonElement, final Gson gson); @Override void postSerialize(final JsonElement jsonElement, final Element element, final Gson gson); }
ElementJsonPostProcessor implements PostProcessor<Element> { @Override public void postDeserialize(final Element element, final JsonElement jsonElement, final Gson gson) { element.setFailOnPendingOrUndefined(propertyManager.isFailScenariosOnPendingOrUndefinedSteps()); processAttachments(element); } @Inject  ElementJsonPostProcessor(
            final PropertyManager propertyManager,
            final FileIO fileIO,
            final CluecumberLogger logger
    ); @Override void postDeserialize(final Element element, final JsonElement jsonElement, final Gson gson); @Override void postSerialize(final JsonElement jsonElement, final Element element, final Gson gson);  }