def test_after_import_get_binder_sale(self):
        """ It should get binder for record type """
        with mock.patch.object(self.unit, 'binder_for'):
            self.unit.binder_for.side_effect = [mock.MagicMock(),
                                                EndTestException]
            with self.assertRaises(EndTestException):
                self.unit._after_import(self.record)
            self.unit.binder_for.assert_called_with(
                'carepoint.sale.order'
            )