public async Task TestMethod_GetGatePassByRFID() { RFIDCardRepositoryTest.FLAG_GET_ASYNC = 1; GatePassRepositoryTest.FLAG_GET_ASYNC = 1; var actualResult = await _securityServices.GetGatePassByRFID("0123"); RFIDCardRepositoryTest.FLAG_GET_ASYNC = 0; GatePassRepositoryTest.FLAG_GET_ASYNC = 0; Assert.IsNotNull(actualResult.responseData); }