### Question:
CallActivityPropertyWriter extends MultipleInstanceActivityPropertyWriter { public void setCase(Boolean isCase) { CustomElement.isCase.of(flowElement).set(isCase); } CallActivityPropertyWriter(CallActivity activity, VariableScope variableScope, Set<DataObject> dataObjects); void setOnEntryAction(OnEntryAction onEntryAction); void setOnExitAction(OnExitAction onExitAction); void setIndependent(Boolean independent); void setAbortParent(Boolean abortParent); void setWaitForCompletion(Boolean waitForCompletion); void setAsync(Boolean async); void setCalledElement(String value); void setCase(Boolean isCase); void setAdHocAutostart(boolean autoStart); void setSlaDueDate(SLADueDate slaDueDate);  }### Answer:
@Test public void testSetCase_true() throws Exception { tested.setCase(Boolean.TRUE); assertTrue(CustomElement.isCase.of(tested.getFlowElement()).get()); }
@Test public void testSetCase_false() throws Exception { tested.setCase(Boolean.FALSE); assertFalse(CustomElement.isCase.of(tested.getFlowElement()).get()); }