test_class.declarator: TEST_VALUE = "Test value"
test_class.modifier: private static final
test_class.original_string: private static final String TEST_VALUE = "Test value";
test_class.type: String
test_class.var_name: TEST_VALUE
test_class.declarator: TEST_VALUE_2 = "Test value 2"
test_class.modifier: private static final
test_class.original_string: private static final String TEST_VALUE_2 = "Test value 2";
test_class.type: String
test_class.var_name: TEST_VALUE_2
test_class.declarator: TEST_VALID_HASHCODE_VALUE = "Test valid value"
test_class.modifier: private static final
test_class.original_string: private static final String TEST_VALID_HASHCODE_VALUE = "Test valid value";
test_class.type: String
test_class.var_name: TEST_VALID_HASHCODE_VALUE
test_class.declarator: VALID_UUID = "valid_uuid"
test_class.modifier: private static final
test_class.original_string: private static final String VALID_UUID = "valid_uuid";
test_class.type: String
test_class.var_name: VALID_UUID
test_class.declarator: TEST_HASHCODE = "96c4ae94164efdbfe4a86fe834ac13a866da78252f71d3ee0bec2dce374"
  			+ "37e135c6c52ee4857837589abe06691536153c749d7da4f7fc8cae7cfb35878d154e1"
test_class.modifier: private static final
test_class.original_string: private static final String TEST_HASHCODE = "96c4ae94164efdbfe4a86fe834ac13a866da78252f71d3ee0bec2dce374"
  			+ "37e135c6c52ee4857837589abe06691536153c749d7da4f7fc8cae7cfb35878d154e1";
test_class.type: String
test_class.var_name: TEST_HASHCODE
test_class.declarator: INVALID_UUID = "INVALID_UUID"
test_class.modifier: private static final
test_class.original_string: private static final String INVALID_UUID = "INVALID_UUID";
test_class.type: String
test_class.var_name: INVALID_UUID
test_class.declarator: parentObjectHashcodeService
test_class.modifier: @Mock
test_class.original_string: @Mock
  	ParentObjectHashcodeService parentObjectHashcodeService;
test_class.type: ParentObjectHashcodeService
test_class.var_name: parentObjectHashcodeService
test_class.declarator: conflictMergeBehaviour
test_class.modifier: @InjectMocks
  	private
test_class.original_string: @InjectMocks
  	private RestrictConflictMergeBehaviourImpl conflictMergeBehaviour;
test_class.type: RestrictConflictMergeBehaviourImpl
test_class.var_name: conflictMergeBehaviour
test_class.file: api/src/test/java/org/openmrs/module/sync2/api/conflict/impl/RestrictConflictMergeBehaviourImplTest.java
test_class.identifier: RestrictConflictMergeBehaviourImplTest
test_case.body: @Test
  	public void resolveDiff_shouldReturnSuccessAndChooseForeignIfOnlyForeignChanged() {
  		SyncObject localObj = getSyncObject(SimpleObjectMother.createInstance(VALID_UUID, TEST_VALID_HASHCODE_VALUE));
  		SyncObject foreignObj = getSyncObject(SimpleObjectMother.createInstance(VALID_UUID, TEST_VALUE_2));
  		MergeResult actual = conflictMergeBehaviour.resolveDiff(SyncObject.class, localObj, foreignObj);
  		Assert.assertTrue(actual instanceof MergeSuccess);
  		Assert.assertEquals(MergeMessageEnum.FOREIGN_SAVE_MESSAGE, actual.getMessage());
  		Assert.assertFalse(((MergeSuccess) actual).shouldUpdateLocal());
  		Assert.assertTrue(((MergeSuccess) actual).shouldUpdateForeign());
  	}
test_case.class_method_signature: RestrictConflictMergeBehaviourImplTest.resolveDiff_shouldReturnSuccessAndChooseForeignIfOnlyForeignChanged()
test_case.full_signature: @Test public void resolveDiff_shouldReturnSuccessAndChooseForeignIfOnlyForeignChanged()
test_case.identifier: resolveDiff_shouldReturnSuccessAndChooseForeignIfOnlyForeignChanged
test_case.invocations: getSyncObject createInstance getSyncObject createInstance resolveDiff assertTrue assertEquals getMessage assertFalse shouldUpdateLocal assertTrue shouldUpdateForeign
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void resolveDiff_shouldReturnSuccessAndChooseForeignIfOnlyForeignChanged()
focal_class.declarator: UUID_KEY = "uuid"
focal_class.modifier: private static final
focal_class.original_string: private static final String UUID_KEY = "uuid";
focal_class.type: String
focal_class.var_name: UUID_KEY
focal_class.declarator: parentObjectHashcodeService
focal_class.modifier: @Autowired
  	private
focal_class.original_string: @Autowired
  	private ParentObjectHashcodeService parentObjectHashcodeService;
focal_class.type: ParentObjectHashcodeService
focal_class.var_name: parentObjectHashcodeService
focal_class.file: api/src/main/java/org/openmrs/module/sync2/api/conflict/impl/RestrictConflictMergeBehaviourImpl.java
focal_class.identifier: RestrictConflictMergeBehaviourImpl
focal_class.interfaces: implements MergeBehaviour<SyncObject>
focal_class.class_method_signature: RestrictConflictMergeBehaviourImpl.resolveDiff(Class<? extends SyncObject> clazz, SyncObject local, SyncObject foreign)
focal_class.full_signature: @Override public MergeResult<SyncObject> resolveDiff(Class<? extends SyncObject> clazz, SyncObject local, SyncObject foreign)
focal_class.identifier: resolveDiff
focal_class.modifiers: @Override public
focal_class.parameters: (Class<? extends SyncObject> clazz, SyncObject local, SyncObject foreign)
focal_class.return: MergeResult<SyncObject>
focal_class.signature: MergeResult<SyncObject> resolveDiff(Class<? extends SyncObject> clazz, SyncObject local, SyncObject foreign)
focal_class.class_method_signature: RestrictConflictMergeBehaviourImpl.revolveConflict(SyncObject source, SyncObject target)
focal_class.full_signature: private MergeResult<SyncObject> revolveConflict(SyncObject source, SyncObject target)
focal_class.identifier: revolveConflict
focal_class.modifiers: private
focal_class.parameters: (SyncObject source, SyncObject target)
focal_class.return: MergeResult<SyncObject>
focal_class.signature: MergeResult<SyncObject> revolveConflict(SyncObject source, SyncObject target)
focal_method.body: @Override
  	public MergeResult<SyncObject> resolveDiff(Class<? extends SyncObject> clazz, SyncObject local, SyncObject foreign) {
  		return revolveConflict(local, foreign);
  	}
focal_method.class_method_signature: RestrictConflictMergeBehaviourImpl.resolveDiff(Class<? extends SyncObject> clazz, SyncObject local, SyncObject foreign)
focal_method.full_signature: @Override public MergeResult<SyncObject> resolveDiff(Class<? extends SyncObject> clazz, SyncObject local, SyncObject foreign)
focal_method.identifier: resolveDiff
focal_method.invocations: revolveConflict
focal_method.modifiers: @Override public
focal_method.parameters: (Class<? extends SyncObject> clazz, SyncObject local, SyncObject foreign)
focal_method.return: MergeResult<SyncObject>
focal_method.signature: MergeResult<SyncObject> resolveDiff(Class<? extends SyncObject> clazz, SyncObject local, SyncObject foreign)