Files
MapLibreParticleLab/mapbox-gl-native-ios/platform/ios/test/MGLAnnotationViewIntegrationTests.swift
2020-12-16 17:28:37 +01:00

24 lines
538 B
Swift

import XCTest
import Mapbox
class CustomAnnotationView: MGLAnnotationView {
override init(reuseIdentifier: String?) {
super.init(reuseIdentifier: reuseIdentifier)
}
required init?(coder aDecoder: NSCoder) {
super.init(coder: aDecoder)
}
}
class MGLAnnotationViewIntegrationTests: XCTestCase {
func testCreatingCustomAnnotationView() {
let customAnnotationView = CustomAnnotationView(reuseIdentifier: "resuse-id")
XCTAssertNotNil(customAnnotationView)
}
}