PhalconRest\Test\Unit\Api\CollectionTest::testExpectsJsonData PHP Method

testExpectsJsonData() public method

public testExpectsJsonData ( )
    public function testExpectsJsonData()
    {
        $this->collection->expectsJsonData();
        $this->assertEquals($this->collection->getPostedDataMethod(), PostedDataMethods::JSON_BODY);
    }