@Test public void itThrowsRequiredArgumentMissingExceptionIfStageClassIsMissing() throws Exception { expectedException.expect(RequiredArgumentMissingException.class); AbstractProcessStageMapper.fromJsonString("{}"); }
public static AbstractProcessStage fromJsonString(String json) throws JsonException, ClassNotFoundException, InstantiationException, IllegalAccessException, InitFailedException, RequiredArgumentMissingException { Map<String, Object> properties = SerializationUtils.fromJson(json); return fromMap(properties); }
AbstractProcessStageMapper { public static AbstractProcessStage fromJsonString(String json) throws JsonException, ClassNotFoundException, InstantiationException, IllegalAccessException, InitFailedException, RequiredArgumentMissingException { Map<String, Object> properties = SerializationUtils.fromJson(json); return fromMap(properties); } }
AbstractProcessStageMapper { public static AbstractProcessStage fromJsonString(String json) throws JsonException, ClassNotFoundException, InstantiationException, IllegalAccessException, InitFailedException, RequiredArgumentMissingException { Map<String, Object> properties = SerializationUtils.fromJson(json); return fromMap(properties); }  }
AbstractProcessStageMapper { public static AbstractProcessStage fromJsonString(String json) throws JsonException, ClassNotFoundException, InstantiationException, IllegalAccessException, InitFailedException, RequiredArgumentMissingException { Map<String, Object> properties = SerializationUtils.fromJson(json); return fromMap(properties); }  static AbstractProcessStage fromJsonString(String json); static List<Field> getParameterFields(Object o); }
AbstractProcessStageMapper { public static AbstractProcessStage fromJsonString(String json) throws JsonException, ClassNotFoundException, InstantiationException, IllegalAccessException, InitFailedException, RequiredArgumentMissingException { Map<String, Object> properties = SerializationUtils.fromJson(json); return fromMap(properties); }  static AbstractProcessStage fromJsonString(String json); static List<Field> getParameterFields(Object o); static final String ARG_NAME_STAGE_CLASS; }