public async Task TestMethod_GetTrucks_NoParam() { QueueListRepositoryTest.FLAG_GET_ASYNC = 1; var actualResult = await _securityServices.GetTrucks(null); QueueListRepositoryTest.FLAG_GET_ASYNC = 0; Assert.AreEqual(ResponseCode.ERR_SEC_NOT_SUPPORT_CONDITION, actualResult.errorCode); }