@Test public void createFamilyCalls() throws ComponentLookupException { when(this.tools.createFamily()).thenReturn(this.family); Assert.assertSame(this.family, this.mocker.getComponentUnderTest().createFamily()); }
public Family createFamily() { return create(); }
FamilyScriptService implements ScriptService { public Family createFamily() { return create(); } }
FamilyScriptService implements ScriptService { public Family createFamily() { return create(); }  }
FamilyScriptService implements ScriptService { public Family createFamily() { return create(); }  Family create(); Family createFamily(); Family get(String id); Family getFamilyById(String familyId); Pedigree getPedigreeForFamily(String familyId); Family getFamilyForPatient(String patientId); Pedigree getPedigreeForPatient(String patientId); boolean removeMember(String patientId); boolean addMember(String patientId, String familyId); boolean delete(Family family); boolean deleteFamily(String familyId, boolean deleteAllMembers); boolean canDeleteFamily(String familyId, boolean deleteAllMembers); }
FamilyScriptService implements ScriptService { public Family createFamily() { return create(); }  Family create(); Family createFamily(); Family get(String id); Family getFamilyById(String familyId); Pedigree getPedigreeForFamily(String familyId); Family getFamilyForPatient(String patientId); Pedigree getPedigreeForPatient(String patientId); boolean removeMember(String patientId); boolean addMember(String patientId, String familyId); boolean delete(Family family); boolean deleteFamily(String familyId, boolean deleteAllMembers); boolean canDeleteFamily(String familyId, boolean deleteAllMembers);  }