Benglin/Dynamo — pull request #176 by vmoyseenko (2014-11-04 17:18:31+00:00)
Title: Rewrite unit tests for categories manipulation

#### Purpose

Earlier in this PR https://github.com/Benglin/Dynamo/pull/132 was made separation code to `SearchModel` and new class `CategoryBuilder`. Tests which are use some functions of `SearchModel` were skipped. This PR adapts `SearchModelTests` to new reality.

#### Modifications

`SearchModel.browserCategoriesBuilder` and `SearchModel.addonCategoriesBuilder` are made as internal to have access from `DynamoCoreTests` project. In `SearcModelTests` used `search.addonCategoriesBuilder` instead of direct `SearchModel` functions. For all cases except one is used addons `CategoryBuilder`.

#### Unit tests
![image](https://cloud.githubusercontent.com/assets/8158551/4904201/5d713188-6446-11e4-9daf-a55e91f9c163.png)

#### Additional references

[MAGN-5157](http://adsk-oss.myjetbrains.com/youtrack/issue/MAGN-5157).

Next planned is adding tests to test differences in work of `CategoryBuilder` for regular nodes and addons. Task: [MAGN-53604](http://adsk-oss.myjetbrains.com/youtrack/issue/MAGN-5304).

#### Reviewers

@aosyatnik, @Benglin, please, take a look.