Bug 2358 - Changed modifier of method in AbstractBodyReaderTest to protected
Tests of codecs are included in codecs yangtools yang-data-codec-gson and yang-data-impl but we test codec on input data and also with presentation of Rest path.
* changed modifier of method getMediaType() to protected
* fix tests with method getMediaType()
* remove additional assertions
Change-Id: I211c2dc43690b663cada31deb3942e10fcc95366
Signed-off-by: ary <jatoth@cisco.com>
(cherry picked from commit
90aed8ac03ee3496178bdc3ec4b46f5c98dd78fc)