// when(doc.getMatterClass()).thenCallRealMethod();
when(doc.isMatterIdValid()).thenReturn(true);
//prepare the matter and clients
kase = new CourtCase();
MatterClient c1 = mock(MatterClient.class);
when(c1.getPrincipalName()).thenReturn("signum");
Person cp1 = mock(Person.class);
when(cp1.getName()).thenReturn("Simon Gitahi");
when(c1.getPerson()).thenReturn(cp1);
kase.getClients().add(c1);
MatterClient c2 = mock(MatterClient.class);
when(c2.getPrincipalName()).thenReturn("mlaw");
Person cp2 = mock(Person.class);
when(cp2.getName()).thenReturn("Martin Mungai");
when(c2.getPerson()).thenReturn(cp2);
kase.getClients().add(c2);
// prepare consideration
consideration = new MatterConsideration();
consideration.setMatter(kase);