public function test_treeByTeams()
 {
     /** === Test Data === */
     $asCustId = 'customer';
     $asParentId = 'parent';
     $id1 = 1;
     $id2 = 2;
     $id3 = 3;
     $data = [[$asCustId => $id1, $asParentId => $id1], [$asCustId => $id2, $asParentId => $id1], [$asCustId => $id3, $asParentId => $id2]];
     /** === Setup Mocks === */
     /** === Call and asserts  === */
     $req = new Request\TreeByTeams();
     $req->setDataToMap($data);
     $req->setAsCustomerId($asCustId);
     $req->setAsParentId($asParentId);
     $resp = $this->obj->treeByTeams($req);
     $this->assertTrue($resp->isSucceed());
     $mapped = $resp->getMapped();
     $this->assertTrue(is_array($mapped));
     $this->assertEquals(2, count($mapped));
     $custId = reset($mapped[$id1]);
     $this->assertEquals($id2, $custId);
     $custId = reset($mapped[$id2]);
     $this->assertEquals($id3, $custId);
 }