async def test_receive_pres_request(self):
    px_rec_in = V20PresExRecord()
    with async_mock.patch.object(V20PresExRecord, 'save', autospec=True) as save_ex:
        px_rec_out = (await self.manager.receive_pres_request(px_rec_in))
        save_ex.assert_called_once()
        assert (px_rec_out.state == V20PresExRecord.STATE_REQUEST_RECEIVED)
async def test_receive_pres_request(self):
    px_rec_in = V20PresExRecord()
    with async_mock.patch.object(V20PresExRecord, 'save', autospec=True) as save_ex:
        px_rec_out = (await self.manager.receive_pres_request(px_rec_in))
        save_ex.assert_called_once()
        assert (px_rec_out.state == V20PresExRecord.STATE_REQUEST_RECEIVED)