* Tests {@link RepositoryService#getProcessDiagramLayout(String)} and
* {@link ProcessDiagramLayoutFactory#getProcessDiagramLayout(InputStream, InputStream)}.
*/
@Test
public void testGetProcessDiagramLayout() throws Exception {
DiagramLayout processDiagramLayout;
if (1 == processDefinitionQuery.count()) {
ProcessDefinition processDefinition = processDefinitionQuery.singleResult();
assertNotNull(processDefinition);
processDiagramLayout = repositoryService.getProcessDiagramLayout(processDefinition.getId());
} else {