@Test
public void testOnAfterCreate() throws PortalException {

	when(
		_ddmFormInstanceReportLocalService.addFormInstanceReport(
			Mockito.anyLong())
	).thenThrow(
		new NoSuchFormInstanceException()
	);
	DDMFormInstance ddmFormInstance = mock(DDMFormInstance.class);
	when(
		ddmFormInstance.getFormInstanceId()
	).thenReturn(
		0L
	);
	_ddmFormInstanceModelListener.onAfterCreate(ddmFormInstance);
}