test_class.declarator: EXPECTED_SIMPLE_OBJECT_FILE = "expectedSimpleObject.json"
test_class.modifier: private static final
test_class.original_string: private static final String EXPECTED_SIMPLE_OBJECT_FILE = "expectedSimpleObject.json";
test_class.type: String
test_class.var_name: EXPECTED_SIMPLE_OBJECT_FILE
test_class.declarator: TEST_DATE_CHANGE = "2018-11-26"
test_class.modifier: private static final
test_class.original_string: private static final String TEST_DATE_CHANGE = "2018-11-26";
test_class.type: String
test_class.var_name: TEST_DATE_CHANGE
test_class.file: api/src/test/java/org/openmrs/module/sync2/api/utils/SimpleObjectSerializationUtilsTest.java
test_class.identifier: SimpleObjectSerializationUtilsTest
test_case.body: @Test
  	public void serialize_shouldCreateValidJson() {
  		String expected = SyncConfigurationUtils.readResourceFile(EXPECTED_SIMPLE_OBJECT_FILE);
  		SimpleObject simpleObject = SimpleObjectMother.createInstanceWithDateChanged(
  				TEST_DATE_CHANGE, true, false);
  		String actual = SimpleObjectSerializationUtils.serialize(simpleObject);
  		actual += System.getProperty("line.separator");
  		Assert.assertNotNull(actual);
  		Assert.assertEquals(expected, actual);
  	}
test_case.class_method_signature: SimpleObjectSerializationUtilsTest.serialize_shouldCreateValidJson()
test_case.full_signature: @Test public void serialize_shouldCreateValidJson()
test_case.identifier: serialize_shouldCreateValidJson
test_case.invocations: readResourceFile createInstanceWithDateChanged serialize getProperty assertNotNull assertEquals
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void serialize_shouldCreateValidJson()
focal_class.file: api/src/main/java/org/openmrs/module/sync2/api/utils/SimpleObjectSerializationUtils.java
focal_class.identifier: SimpleObjectSerializationUtils
focal_class.class_method_signature: SimpleObjectSerializationUtils.serialize(SimpleObject simpleObject)
focal_class.full_signature: public static String serialize(SimpleObject simpleObject)
focal_class.identifier: serialize
focal_class.modifiers: public static
focal_class.parameters: (SimpleObject simpleObject)
focal_class.return: String
focal_class.signature: String serialize(SimpleObject simpleObject)
focal_class.class_method_signature: SimpleObjectSerializationUtils.deserialize(String simpleObject)
focal_class.full_signature: public static SimpleObject deserialize(String simpleObject)
focal_class.identifier: deserialize
focal_class.modifiers: public static
focal_class.parameters: (String simpleObject)
focal_class.return: SimpleObject
focal_class.signature: SimpleObject deserialize(String simpleObject)
focal_class.class_method_signature: SimpleObjectSerializationUtils.clone(SimpleObject simpleObject)
focal_class.full_signature: public static SimpleObject clone(SimpleObject simpleObject)
focal_class.identifier: clone
focal_class.modifiers: public static
focal_class.parameters: (SimpleObject simpleObject)
focal_class.return: SimpleObject
focal_class.signature: SimpleObject clone(SimpleObject simpleObject)
focal_class.class_method_signature: SimpleObjectSerializationUtils.SimpleObjectSerializationUtils()
focal_class.full_signature: private  SimpleObjectSerializationUtils()
focal_class.identifier: SimpleObjectSerializationUtils
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.signature:  SimpleObjectSerializationUtils()
focal_method.body: public static String serialize(SimpleObject simpleObject) {
  		SimpleObjectMessageConverter converter = new SimpleObjectMessageConverter();
  		return converter.convertToJson(simpleObject);
  	}
focal_method.class_method_signature: SimpleObjectSerializationUtils.serialize(SimpleObject simpleObject)
focal_method.full_signature: public static String serialize(SimpleObject simpleObject)
focal_method.identifier: serialize
focal_method.invocations: convertToJson
focal_method.modifiers: public static
focal_method.parameters: (SimpleObject simpleObject)
focal_method.return: String
focal_method.signature: String serialize(SimpleObject simpleObject)