public void ApiGameByNameDeleteTestWithRights() { string name = Common.GameName; string authorization = Common.AdminAuth; instance.ApiGameByNameDelete(name, authorization); var ex = Assert.Catch(() => instance.ApiGameByNameGet(name, authorization)) as ApiException; Assert.AreEqual(Common.NotFoundCode, ex.ErrorCode); }