import static org.junit.Assert.*;

public class ProcessInstanceFakeTest {

}

@@ -1,77 +1,1596 @@
-import static org.junit.Assert.*;%0A%0Apublic class ProcessInstanceFakeTest %7B
+package org.camunda.bpm.extension.mockito.process;%0A%0Aimport org.junit.Test;%0A%0Aimport static org.assertj.core.api.Java6Assertions.assertThat;%0A%0Apublic class ProcessInstanceFakeTest %7B%0A%0A  @Test%0A  public void testEmptyBuilder() %7B%0A    ProcessInstanceFake fake = ProcessInstanceFake.builder().build();%0A    assertThat(fake.isEnded()).isEqualTo(false);%0A    assertThat(fake.isSuspended()).isEqualTo(false);%0A  %7D%0A%0A  @Test%0A  public void testStateChange() %7B%0A    ProcessInstanceFake fake = ProcessInstanceFake.builder().build();%0A    assertThat(fake.isEnded()).isEqualTo(false);%0A    assertThat(fake.isSuspended()).isEqualTo(false);%0A%0A    fake.setEnded(true);%0A    assertThat(fake.isEnded()).isEqualTo(true);%0A%0A    fake.setSuspended(true);%0A    assertThat(fake.isSuspended()).isEqualTo(true);%0A  %7D%0A%0A  @Test%0A  public void testFullBuilder() %7B%0A    ProcessInstanceFake fake = ProcessInstanceFake.builder()%0A      .businessKey(%22businessKey%22)%0A      .caseInstanceId(%22caseInstanceId%22)%0A      .ended(true)%0A      .id(%22id%22)%0A      .processDefinitionId(%22processDefinitionId%22)%0A      .processInstanceId(%22processInstanceId%22)%0A      .suspended(true)%0A      .tenantId(%22tenantId%22)%0A      .build();%0A%0A    assertThat(fake.getBusinessKey()).isEqualTo(%22businessKey%22);%0A    assertThat(fake.getCaseInstanceId()).isEqualTo(%22caseInstanceId%22);%0A    assertThat(fake.getId()).isEqualTo(%22id%22);%0A    assertThat(fake.getProcessDefinitionId()).isEqualTo(%22processDefinitionId%22);%0A    assertThat(fake.getProcessInstanceId()).isEqualTo(%22processInstanceId%22);%0A    assertThat(fake.isSuspended()).isEqualTo(true);%0A    assertThat(fake.isEnded()).isEqualTo(true);%0A%0A%0A  %7D
 %0A%0A%7D%0A

improve test coverage for process instance fake, fix #70