         self.buildConfiguration = buildConfiguration
         self.firebaseAdapter = firebaseAdapter
         self.fcmRegistration = fcmRegistration
-
-
-    }
-
-    func registerDevicePushToken(_ token: Data) {
+    }
+
+    func registerRemoteNotificationsDeviceToken(_ token: Data) {
         firebaseAdapter.setAPNSToken(deviceToken: token)
         firebaseAdapter.subscribe(toTopic: .announcements)
 

//
//  FirebaseNotificationsTokenRegistrationTests.swift
//  Eurofurence
//
//  Created by Thomas Sherwood on 15/07/2017.


}

protocol RemoteNotificationsTokenRegistration {

    func registerRemoteNotificationsDeviceToken(_ token: Data)

}

struct FirebaseRemoteNotificationsTokenRegistration: RemoteNotificationsTokenRegistration {

    private var buildConfiguration: BuildConfigurationProviding
    private var firebaseAdapter: FirebaseAdapter
