test(unit/provider): add tests for  method