The mocks are meant to fake NGitLab as faithfully as possible. As such, they should throw the same exceptions as their true NGitLab counterparts.