func hasMockEntry()

in Sources/DDMock/DDMock.swift [63:72]


    func hasMockEntry(path: String, method: String) -> EntrySetting {
        switch getMockEntry(path: path, method: method, isTest: true)?.useRealAPI() {
        case .none:
            return .notFound
        case .some(false):
            return .mocked
        case .some(true):
            return .useRealAPI
        }
    }