### Question:
GroupEngineClient { public Group create(GroupCreator groupCreator) { try { return groupAPI.createGroup(groupCreator); } catch (AlreadyExistsException e) { throw new APIException(new _( "Can't create group. Group '%groupName%' already exists", new Arg("groupName", groupCreator.getFields().get(GroupField.NAME)))); } catch (CreationException e) { throw new APIException(new _("Error when creating group"), e); } } protected  GroupEngineClient(GroupAPI groupAPI); Group get(Long groupId); String getPath(String groupId); void delete(List<Long> groupIds); Group update(long groupId, GroupUpdater groupUpdater); Group create(GroupCreator groupCreator);  }### Answer:
@Test public void create_create_a_group_in_engine_repository() throws Exception { GroupCreator creator = new GroupCreator("aName"); groupEngineClient.create(creator); verify(groupAPI).createGroup(creator); }