Test that `getDecorations` is called with correct arguments (#995)
Test that `getDecorations` is called with correct arguments (#995)

* add EditorState test that checks `getDecorations calls` for correct argument order

* lint fix, remove unnecessary var

facebook/draft-js,tonygentilcore/draft-js,johnmpotter/draft-js,dirkholsopple/draft-js,dirkholsopple/draft-js,johnmpotter/draft-js,tonygentilcore/draft-js