@Test
public void testOnAfterUpdate() throws PortalException {

	when(
		_ddmFormInstanceReportLocalService.
			getFormInstanceReportByFormInstanceId(Mockito.anyLong())
	).thenThrow(
		new NoSuchFormInstanceReportException()
	);
	DDMFormInstanceRecordVersion ddmFormInstanceRecordVersion = mock(
		DDMFormInstanceRecordVersion.class);
	when(
		ddmFormInstanceRecordVersion.getFormInstanceId()
	).thenReturn(
		0L
	);
	when(
		ddmFormInstanceRecordVersion.getStatus()
	).thenReturn(
		WorkflowConstants.STATUS_APPROVED
	);
	_ddmFormInstanceRecordVersionModelListener.onAfterUpdate(
		ddmFormInstanceRecordVersion);
}