use of org.kie.workbench.common.forms.jbpm.model.authoring.document.definition.DocumentFieldDefinition in project kie-wb-common by kiegroup.
the class DocumentFieldValueProcessorTest method initTest.
@Before
public void initTest() {
when(uploadedDocumentManager.getFile(anyString())).thenReturn(uploaded);
when(uploaded.length()).thenReturn(new Long(1024));
field = new DocumentFieldDefinition();
field.setBinding("document");
field.setName("document");
field.setLabel("document");
processor = new TestDocumentFieldValueProcessor(uploadedDocumentManager);
}
Aggregations