*/
@Test
public void testCreateOrganization() {
System.out.println("createOrganization");
Organization orgToCreate = new Department("dept");
Organization parent = new Company("headquarter");
Date date = DateUtils.date(2012, 1, 1);
instance.createOrganization(orgToCreate, parent, date);
assertThat(orgToCreate.getCreateDate(), is(date));
verify(repository).save(orgToCreate);
verify(repository).save(new OrgLineMgmt(parent, orgToCreate, date));