@Test
public void emptyRef() throws JIException {
OCDocumentManager manager = app.getDocumentManager("СчетНаОплатуПокупателю");
String fullName = manager.getMetadata().getFullName();
OCDocumentRef ref = manager.emptyRef();
assertTrue(ref.isEmpty());
assertTrue(ref.getUUID().toString().equals("00000000-0000-0000-0000-000000000000"));
assertTrue(ref.getMetadata().getFullName().equals(fullName));
}